Comment on Sci Hub InjectorparentComments−cblconfederate4yAnother one that works: javascript:window.location='http://sci-hub.st/'+window.location (scihub detects most academic websites)−lordgrenville4yOoh, 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]
Comments
Another one that works:
(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...)