This commit is contained in:
Biagio Peccerillo 2025-02-26 15:44:03 +01:00
parent af27daddb1
commit ef334699c9
1 changed files with 54 additions and 0 deletions

54
proxy-isti.pac Normal file
View File

@ -0,0 +1,54 @@
const site_vector = [
/* IEEE */ "https://ieeexplore.ieee.org/*",
/* ACM */ "https://dl.acm.org/*",
/* SPRINGER */ "https://link.springer.com/*",
/* SCIENCE_DIRECT */ "https://www.sciencedirect.com/*",
/* WEB_OF_SCIENCE */ "https://www.webofknowledge.com/*",
/* WILEY */ "https://onlinelibrary.wiley.com/*",
/* NATURE */ "https://www.nature.com/*",
/* SAGE */ "https://journals.sagepub.com/*",
/* TAYLOR_FRANCIS */ "https://www.tandfonline.com/*",
/* MDPI */ "https://www.mdpi.com/*",
/* FRONTIERS */ "https://www.frontiersin.org/*",
/* MATH SCI NET */ "https://mathscinet.ams.org/*",
/* REAXYS */ "https://www.reaxys.com/*",
/* OXFORD */ "https://academic.oup.com/*",
/* PNAS */ "https://www.pnas.org/*",
/* CAMBRIDGE */ "https://www.cambridge.org/*",
/* IOP */ "https://iopscience.iop.org/*",
/* IOS */ "https://content.iospress.org/*",
/* JSTOR */ "https://www.jstor.org/*",
/* RSC */ "https://pubs.rsc.org/*",
/* CHEM SPIDER */ "https://www.chemspider.com/*",
/* CLARIVATE */ "https://jcr.clarivate.com/*",
/* CLARIVATE ENDNOTE */ "https://www.myendnoteweb.com/*",
/* SCIENTIFIC NET */ "https://www.scientific.net/*",
/* AIP */ "https://aip.scitation.org/*",
/* APS */ "https://journals.aps.org/*",
/* PUBMED */ "https://pubmed.ncbi.nlm.nih.gov/*",
/* SCIENCEMAG */ "https://www.sciencemag.org/*",
/* SIAM */ "https://epubs.siam.org/*",
/* AMERICAN_CHEMICAL */ "https://pubs.acs.org/*",
/* AMERICAN_PHYSICAL */ "https://journals.aps.org/*",
/* AMERICAN_PHYSICS */ "https://www.scitation.org/*",
/* AMERICAN_SOCIETY */ "https://www.asme.org/*",
/* AMERICAN_INSTITUTE */ "https://www.aiaa.org/*",
/* AMERICAN_MATHEMATICAL */ "https://www.ams.org/*",
/* AMERICAN_METEO */ "https://journals.ametsoc.org/*",
/* AMERICAN_GEOPHYSICAL */ "https://www.agu.org/*",
/* ANNUAL_REVIEWS */ "https://www.annualreviews.org/*",
/* RIVISTE WEB */ "https://www.rivisteweb.it/*",
/* DARWIN BOOKS */ "https://www.darwinbooks.it/*",
];
function FindProxyForURL(url, host) {
// Check if the requested URL is a paper repo
for (var i = 0; i < site_vector.length; i++) {
if (shExpMatch(url, site_vector[i])) {
return "PROXY vpn-proxy.isti.cnr.it:3128";
}
}
// Default to direct connection for all other URLs
return "DIRECT";
}