Reserved for the user of Bibliothèque nationale du Luxembourg (BnL). Add ".proxy.bnl.lu" at the end of publication website URL
当前为
// ==UserScript==
// @name Auto add BnL Proxy into URL
// @description Reserved for the user of Bibliothèque nationale du Luxembourg (BnL). Add ".proxy.bnl.lu" at the end of publication website URL
// @author Bowen
// @version 0.2
// @namespace https://greasyfork.org/users/964008
// @license MIT
// @match http(s)?://interscience.wiley.com/*
// @match http(s)?://onlinelibrary.wiley.com/*
// @match http(s)?://www3.interscience.wiley.com/*
// @match http(s)?://emeraldinsight.com/*
// @match http(s)?://(www.)?ieee.org/*
// @match http(s)?://ieeexplore.ieee.org/*
// @match http(s)?://springerlink.com/*
// @match http(s)?://springerlink.metapress.com/*
// @match http(s)?://springerprotocols.com/*
// @match http(s)?://link.springer.com/*
// @match http(s)?://journals.sagepub.com/*
// @match http(s)?://(www.)?scopus.com/*
// @match http(s)?://(www.)?sciencedirect.com/*
// @match http(s)?://dl.acm.org/*
// @run-at document-start
// @grant none
// ==/UserScript==
var newURL = window.location.protocol + "//"
+ window.location.host.replaceAll(".", "-")
+ ".proxy.bnl.lu"
+ window.location.pathname;
window.location.replace (newURL);