Skip to content

Instantly share code, notes, and snippets.

@dontry42
Forked from bjonnh/Redirector.json
Last active April 9, 2024 08:26
Show Gist options
  • Save dontry42/980adacbff822af874ed7ec94877cdc3 to your computer and use it in GitHub Desktop.
Save dontry42/980adacbff822af874ed7ec94877cdc3 to your computer and use it in GitHub Desktop.
A redirector configuration file that allows to get direct access to PDFs for publications from Wiley and ACS. (this will not bypass the paywall)
{
"createdBy": "Redirector v3.5.3",
"createdAt": "2024-04-09T08:24:45.923Z",
"redirects": [
{
"description": "Wiley pdf",
"exampleUrl": "https://chemistry-europe.onlinelibrary.wiley.com/doi/epdf/10.1002/chem.202400314",
"exampleResult": "https://chemistry-europe.onlinelibrary.wiley.com/doi/pdfdirect/10.1002/chem.202400314",
"error": null,
"includePattern": "https://(.*)([\\-\\.]wiley[\\-\\.]com[a-z\\-\\.]*)/doi/epdf/(.*)",
"excludePattern": "",
"patternDesc": "Allows to get a PDF (and NO a EPDF is NOT a PDF Wiley thank you.)",
"redirectUrl": "https://$1$2/doi/pdfdirect/$3",
"patternType": "R",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "acs pdf",
"exampleUrl": "https://pubs.acs.org/doi/epdf/10.1021/acsami.3c17400",
"exampleResult": "https://pubs.acs.org/doi/pdf/10.1021/acsami.3c17400",
"error": null,
"includePattern": "(https://pubs.acs.org[a-z\\-\\.]*)/doi/e(.*)",
"excludePattern": "",
"patternDesc": "Allows to get a PDF (and NO a EPDF is NOT a PDF ACS thank you.)",
"redirectUrl": "$1/doi/$2",
"patternType": "R",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
}
]
}
@dontry42
Copy link
Author

dontry42 commented Apr 9, 2024

Please refer to the original work at https://gist.github.com/bjonnh/2228b9f6ea9e9b84f82b7a096815da9e.
To enable its functionality, a web browser add-on is required: https://gist.github.com/bjonnh/2228b9f6ea9e9b84f82b7a096815da9e

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