SimonBrazell / privacy-redirect

A simple web extension that redirects Twitter, YouTube, Instagram & Google Maps requests to privacy friendly alternatives.
GNU General Public License v3.0
1.98k stars 114 forks source link

Add option for scientific articles #96

Open tiotrom opened 4 years ago

tiotrom commented 4 years ago

What if you were to add something of the sort https://addons.mozilla.org/en-US/firefox/addon/sci-hub-now/?src=search :) ?

"When current page contains DOI identifier of a restricted academic paper, find it on Sci-Hub with just a single click on toolbar icon or select your desired DOI, then right click to selected text to use Sci-Hub Now!"

To basically unlock scientific articles. If it helps, SearX uses such a thing https://github.com/asciimoo/searx.

SimonBrazell commented 4 years ago

Yeah sounds cool, I love Sci-Hub, would you be able to send me an example of a page where you'd see something like this working with instructions etc?

tiotrom commented 4 years ago

I need to search for this, but as I can tell they use DOI - https://asciimoo.github.io/searx/admin/plugins.html?highlight=doi https://github.com/asciimoo/searx/issues?q=Open+Access+DOI . Links seem to go through this https://dissem.in/. And specifically for sci-hub they seem to use this https://github.com/zaytoun/scihub.py.

More importantly this is how Sci-Hub Now is doing it https://github.com/0x01h/sci-hub-now/ - maybe make it so that it is automatic. Like this one does https://github.com/patztablook22/sci-hub.

tiotrom commented 3 years ago

Heads Up, the original github link of the extension is not maintained anymore, but this is https://github.com/gchenfc/sci-hub-now - I would so love to see SciHub in your privacy redirect list. This one is great because users can change the sci-hub instance in their preferences so I'd imagine you can force that in the code!? Here are the sci-hub instances that work:

wikicn.top sci-hub.do sci-hub.ren sci-hub.se sci-hub.st

tiotrom commented 3 years ago

Maybe this last pull from the developer of Sci-Hub Now https://github.com/gchenfc/sci-hub-now/pull/11 is helpful for this extension too.

ghost commented 3 years ago

One issue is sci-hub is not super legal in many countries and even blocked in others (Sweden off the top of my head). This could change the extension to be viewed as something not only privacy freaks use but also criminals (might be an issue if you're at university perhaps). On the other hand, tor is already basically viewed as illegal in many countries (Iran I think?) and privacy redirect ships with onion instances so perhaps that doesn't really matter.

tiotrom commented 3 years ago

Oh I'm sure invidious and others are not "legal" from the standpoint of youtube or other platforms. Scihub is praised by so many scientists and researchers. We had Alexandra from Scihub to our podcast a few months ago https://www.tromsite.com/videos/#fvp_262,1s talking about scihub if you are interested. She does a fantastic job.

SimonBrazell commented 3 years ago

@tiotrom I just tried to watch your video but the server seems very slow, couldn't stream so I decided to download it instead, speed is sitting around 20KB/s with an ETA of 19 hours 🙁

ghost commented 3 years ago

@tiotrom

Oh I'm sure invidious and others are not "legal" from the standpoint of youtube or other platforms.

I'm afraid I do not know what you mean by this since you put legal in quotes. From what I understand invidious and the other instances are not illegal (with the exception of whatever.onion, if you live in Central Asia or something), even if individuals in youtube might wish it was, although maybe it violates a term of service somewhere? If it is I would like to see evidence so that I may better inform myself.

I myself quite like sci-hub and various related things, but I merely wanted to raise a point for consideration in the project. I'll be sure to listen to your podcast.

tiotrom commented 3 years ago

@tiotrom I just tried to watch your video but the server seems very slow, couldn't stream so I decided to download it instead, speed is sitting around 20KB/s with an ETA of 19 hours slightly_frowning_face

Hm, it streams from archive.org. We have it on peertube too https://gorf.tube/videos/watch/playlist/284c2399-0a95-423d-b15e-158ddc126846?playlistPosition=57&resume=true - may I ask where you are trying to stream from? For me, from Spain, works perfectly fine. Maybe your region + internet connection are very slow?

SimonBrazell commented 3 years ago

I'm in Australia, the internet connection is fine, I can stream anything else, the peertube link works for example, just the original was terribly slow.

tiotrom commented 3 years ago

@seth1 I put legal in quotes because it depends what is legal here may not be there. And it is not like legal = fair anyways. But yah, scihub is such a wonderful resource used by hundreds of thousands of people daily. There are addons for firefox and chrome already, that redirect scientific articles to scihub, so probably should be ok.

tiotrom commented 3 years ago

I'm in Australia, the internet connection is fine, I can stream anything else, the peertube link works for example, just the original was terribly slow.

Thanks for the info. We've heard in the past similar stories abotu our videos...we will look more into it.