Skip to content

Instantly share code, notes, and snippets.

@olejorgenb
Last active October 27, 2023 10:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olejorgenb/9219abde004a899e74b8cb89b4e623f1 to your computer and use it in GitHub Desktop.
Save olejorgenb/9219abde004a899e74b8cb89b4e623f1 to your computer and use it in GitHub Desktop.
Search SciHub for current page
// bookmarklet_title: SciHub
function findInSciHub() {
const sciHubUrl = `https://sci-hub.se/${location.toString()}`
window.open(sciHubUrl, "_blank")
}
findInSciHub()
@olejorgenb
Copy link
Author

@olejorgenb
Copy link
Author

Should try to extract DOI since the URL is not robust. (some papers is found through URL, others not - even for the same type of links)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment