Auto add BnL Proxy into URL

Reserved for the user of Bibliothèque nationale du Luxembourg (BnL). Add ".proxy.bnl.lu" at the end of publication website URL

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==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.21
// @namespace    https://greasyfork.org/users/964008
// @license MIT
// @tampermonkey-safari-promotion-code-request

// @match        *://interscience.wiley.com/*
// @match        *://onlinelibrary.wiley.com/*
// @match        *://www3.interscience.wiley.com/*
// @match        *://emeraldinsight.com/*
// @match        *://ieeexplore.ieee.org/*
// @match        *://springerlink.com/*
// @match        *://springerlink.metapress.com/*
// @match        *://springerprotocols.com/*
// @match        *://link.springer.com/*
// @match        *://journals.sagepub.com/*
// @match        *://www.scopus.com/*
// @match        *://scopus.com/*
// @match        *://sciencedirect.com/*
// @match        *://www.sciencedirect.com/*
// @match        *://dl.acm.org/*
// @match        *://www.tandfonline.com/*

// @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);