Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can also use a one line JS bookmarklet on the article page, such as the following:

javascript:(function(){window.location = 'http://' + window.location.hostname + '.sci-hub.st' + window.location.pathname;})();



Another one that works:

    javascript:window.location='http://sci-hub.st/'+window.location
(scihub detects most academic websites)


Ooh, that's a lot simpler than my attempt to extract the DOI via regex (which is anyway not 100% possible because of the how flexible the DOI spec is...)

  javascript:location.href = 'https://sci-hub.se/' + document.getElementsByTagName('html')[0].innerHTML.match(/10\.\d{4,9}\/[-._;()\/:A-Z0-9]+/i)[0]




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: