Greasy Fork is available in English.
sciencedirect+ieeexplore+tandfonline跳转 HFUT
当前为
// ==UserScript==
// @name sciencedirect+ieeexplore+tandfonline+springer跳转HFUT_无按钮
// @namespace hanzhang
// @version 1.2.11
// @description sciencedirect+ieeexplore+tandfonline跳转 HFUT
// @author hanzhang
// @match https://www.sciencedirect.com/*
// @match https://ieeexplore.ieee.org/*
// @match https://www.tandfonline.com/doi/full/*
// @match https://link.springer.com/*
// @match https://www.springer.com/*
// @match https://pubsonline.informs.org/doi/*
// @grant GM_openInTab
// ==/UserScript==
(function() {
'use strict';
var html_title=new Array()
html_title[0]= "www.sciencedirect.com"
html_title[1]= "ieeexplore.ieee.org"
html_title[2]= "www.tandfonline.com"
html_title[3]= "www.springer.com"
html_title[4]= "link.springer.com"
html_title[5]="pubsonline.informs.org"
//html_title[6]="www.emerald.com"
//let link = location.href;
let link = window.location.host
//debugger;
if(link==html_title[0])
{
link = location.href;
link = link.replace('www.sciencedirect.com','webvpn.hfut.edu.cn/https/77726476706e69737468656265737421e7e056d234336155700b8ca891472636a6d29e640e');
}
else if(link==html_title[1])
{
link = location.href;
link = link.replace('ieeexplore.ieee.org','webvpn.hfut.edu.cn/https/77726476706e69737468656265737421f9f244993f20645f6c0dc7a59d50267b1ab4a9');
}
else if(link==html_title[2])
{
link = location.href;
link = link.replace('www.tandfonline.com/doi/full/','webvpn.hfut.edu.cn/https/77726476706e69737468656265737421e7e056d233316654780787a0915b267b559aba/doi/pdf/');
}
else if(link==html_title[3])
{
link = location.href;
link = link.replace('www.springer.com','webvpn.hfut.edu.cn/https/77726476706e69737468656265737421fcfe4f976923784277068ea98a1b203a54');
}
else if(link==html_title[4])
{
link = location.href;
link = link.replace('link.springer.com','webvpn.hfut.edu.cn/https/77726476706e69737468656265737421fcfe4f976923784277068ea98a1b203a54');
}
else if(link==html_title[5])
{
link = location.href;
link = link.replace('pubsonline.informs.org/doi/','webvpn.hfut.edu.cn/https/77726476706e69737468656265737421e0e2438f283e6459700dc7a596532c2720e61e4bc46e/doi/pdf/');
}
GM_openInTab(link, { active: true });
})();