Skip to content

Instantly share code, notes, and snippets.

@fpom
Created March 26, 2016 22:18
Show Gist options
  • Save fpom/d69c6f7a8c181792d4e2 to your computer and use it in GitHub Desktop.
Save fpom/d69c6f7a8c181792d4e2 to your computer and use it in GitHub Desktop.
View on SCI-HUB
  1. Install Firefox extension Custom buttons: http://custombuttons.mozdev.org/

  2. Create a new button with the code below:

    url = content.document.location loadURI(url.protocol + "//" + url.hostname + ".sci-hub.io" + url.port + url.pathname)

  3. When you hit the paywall, click on the button and enjoy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment