Are you sure you want to go to an external site to donate a monetary value?
WARNING: Some countries laws may supersede the payment processors policy such as the GDPR and PayPal. While it is highly appreciated to donate, please check with your countries privacy and identity laws regarding privacy of information first. Use at your utmost discretion.
Hi!
Given that Sci-Hub is funded by donations, I think the script should not check if each article I visit is on Sci-Hub.
Sometimes I visit 10 articles, while trying to find the most relevant to what I'm looking for. But I only want to see one.
I think
getDownloadLink
should always returnfallbackLink
, and I modified my copy of the script to do so. That way, you don't even need it to beasync
:function getDownloadLink(doiReference) { const fallbackLink = SCI_HUB_URL + "/" + doiReference; console.log("SciHub link:", fallbackLink); return fallbackLink; }
Then, delete the
await
fromconst downloadLink = await getDownloadLink(doiReference);
Hello!
Thank you for your input. There are two reasons I did what the script does:
I understand your concern but I think the user experience is more important. Your modifications work for you and this is perfect then :-)
Closed for inactivity