ashwinvis / userscripts

A repository of Greasemonkey scripts synced with Greasy Fork and OpenUserJS
GNU General Public License v3.0
2 stars 0 forks source link

Applying the script to Sci-Hub? #3

Closed DonaldTsang closed 3 years ago

DonaldTsang commented 4 years ago

It seems that none of the RG scripts don't do Sci-Hub, which is annoying.

Also, it seems that none of them support SemanticScholar-to-DOI/Sci-Hub. So how could this be done?

Bonus: adding some of the features to https://greasyfork.org/en/scripts/370246-sci-hub-button

ashwinvis commented 3 years ago
  1. This is beyond the intended scope of this userscript. Not saying this is impossible.
  2. If you rely on converting DOI requests, use an extension like Redirector
ashwinvis commented 3 years ago

If you really want to do it via an userscript, modify the hyperlink here:

https://github.com/ashwinvis/userscripts/blob/38c43119455cbf755d8eda21fcaf930366d0a803/RGdoi.user.js#L48