I'm currently waiting for Mozilla to accept this into the add on store. If that passes, I will submit it to Chrome as well.
I saw the shebang and still didn’t understand what the heck roku was.
Until I searched it:
“Raku is a member of the Perl family of programming languages. Formerly known as Perl 6, it was renamed in October 2019.”
I guess the rest API will do, ugh.
Related discussion: https://news.ycombinator.com/item?id=28277749
I made an iOS Shortcut based on the same code. To use it after installing, access it from the iOS Share screen when you're on a relevant site. It will look for preferred mirrors from Wikidata before running.
https://www.icloud.com/shortcuts/080b9f68c96a4491898b804547e...
Always review a Shortcut's actions before running it.
As an example I get the icon in the top left of the page for this random IEEE paper: https://ieeexplore.ieee.org/document/6025669
javascript:(function(){window.location = 'http://' + window.location.hostname + '.sci-hub.st' + window.location.pathname;})();
javascript:window.location='http://sci-hub.st/'+window.location
(scihub detects most academic websites) javascript:location.href = 'https://sci-hub.se/' + document.getElementsByTagName('html')[0].innerHTML.match(/10\.\d{4,9}\/[-._;()\/:A-Z0-9]+/i)[0]I think it would be marginally quicker for me to access a paper legally if I was on my uni's campus. But I am WFH from the other side of the country and would need to log into the VPN. Sci-hub with one of these solutions would be much quicker!
My company gives me access to a few journals, but at home I have no such thing. $20 is ridiculous for a paper, given that (a) the authors rarely see anything of this money, and (b) you often need to skim 10 papers before you find the 1 that's relevant.
Luckily, many papers in my research domain (compsci/ML) are open access. 90% is either on arxiv or Google Scholar knows a pdf URL.
For the rest, scihub is a lifesaver.
IMHO it's not rarely but never, I'm not aware of any plausible scenario where any author would ever get a single cent of that payment.
The authors never see anything of that money. Scientific journals do not pay for the authors of the published research papers.
https://www.hindustantimes.com/india-news/no-new-articles-on...
They did release a bulk issue of 2.7 million articles a few months ago (as part of the torrent collection available from libgen), but nothing new since then.
I've had a lot of success running Zotero's translation server for my own bibliographic needs, but I would really love if I didn't have to host it on a server somewhere (and could actually do that part in a browser engine I depend on to download PDFs anyway). Has anyone here figured out how to wrap the translation server brains (i.e., the recipes for each URL) into a simple library?
You can set up a keyword e.g. "shb" for (code from above)
javascript:window.location='http://sci-hub.se/'+window.location
and you can run it writing "shb" in the address bar.
No need for bookmarklets.Or how do y'all use boorkmarklets? E.g. on chrome? Is your boorkmark bar always visible?
What do I actually write in the address bar?
1. Create a temporary bookmark (e.g. by pressing ctrl + D, or clicking or the star in the address bar)
2. Open your bookmarks (e.g open the bookmark bar, or press ctrl + B)
3. Right click on the bookmark, and choose "edit bookmark" (or right click, then press "i")
4. Fill the "URL" field with
javascript:window.location='http://sci-hub.se/'+window.location
5. Fill the "keyword" field with "shb" (or whatever you want)
That's it, whenever you write "shb" in the address bar on a page and hit ENTER, it will navigate you to http://sci-hub.se/ + window.location
.