Live data from Hacker News

Sci Hub Injector

github.com

11–20 of 45 posts

Re: Sci Hub Injector

#11
Small suggestion: instead of hardcoding the .se domain, you might want to send a request to Wikidata to get the currently ised domains. That's how similar sci-hub tools do it to stay up-to-date.

Re: Sci Hub Injector

#12
Author here. Thanks for submitting this project! I made this because I thought it would be funny if publisher websites had SciHub links that look like they belong on the website [0]. I didn't know about the bookmarklet when I started this. Maybe I should have used that instead. Oh well.

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.

[0] https://imgur.com/a/GP7rm43

Re: Sci Hub Injector

#13
post #11

Small suggestion: instead of hardcoding the .se domain, you might want to send a request to Wikidata to get the currently ised domains. That's how similar sci-hub tools do it to stay up-to-date.

Thanks for the suggestion! I'll add that in a future version.

Re: Sci Hub Injector

#14

My main problem with sci-hub right now is that it's stopped adding new content to the website since like 1 or 2 years. Which means if you want to have an up-to-date state of the art, you can't use sci-hub. I personally use the bookmarklet, i'm way more inclined towards this than some random browser extension.

I thought they started publishing new papers again?

Re: Sci Hub Injector

#15
One of the contributions being solicited on the page is to get DOIs for the given webpage. Right now, it has a few methods to grab DOIs for specific sites.

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?

Re: Sci Hub Injector

#16
post #14

My main problem with sci-hub right now is that it's stopped adding new content to the website since like 1 or 2 years. Which means if you want to have an up-to-date state of the art, you can't use sci-hub. I personally use the bookmarklet, i'm way more inclined towards this than some random browser extension.

I thought they started publishing new papers again?

I think they just added a couple million new journals as a one-off.

Re: Sci Hub Injector

#18

There’s also this [0] userscript that does essentially the same thing but doesn’t need a separate extension assuming you already use a userscript manager. It also supports far more domains from the looks of it. 0: https://greasyfork.org/en/scripts/370246-sci-hub-button

Thanks, was hoping there would be exactly this rather than messing with a new extension.

Re: Sci Hub Injector

#19

There’s also this [0] userscript that does essentially the same thing but doesn’t need a separate extension assuming you already use a userscript manager. It also supports far more domains from the looks of it. 0: https://greasyfork.org/en/scripts/370246-sci-hub-button

Does this script work for you? I installed in FF and tried on 3 sample links and none of them produced the extra link :/ Icon in Greasemonkey shows that scripts recognized URL and was running on each site

Re: Sci Hub Injector

#20
post #8

This post and the four (4) comments suggesting alternate methods to do this are a pretty good indicator that pirating papers is still by far the easier method than going through official channels. 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 wo…

There's also cost.

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.

Post reply on HN