Greasy Fork

TUM eAccess Redirector

Automatically redirect to the proxified equivalent as provided by the libary of the Technische Universität München via the eAccess-System. TUM credentials required.

目前为 2016-07-29 提交的版本。查看 最新版本

// ==UserScript==
// @name         TUM eAccess Redirector
// @name:de      TUM eAccess Redirector
// @version      0.2
// @description  Automatically redirect to the proxified equivalent as provided by the libary of the Technische Universität München via the eAccess-System. TUM credentials required.
// @description:de   Userscript, dass auf einigen Seiten, mit denen die Universitätsbiblothek der Technischen Universität München kooperiert, die eAccess-Version aufruft.
// @author       zsewa

// @match        *://opac.ub.tum.de/InfoGuideClient.tumsis/*
// @match        *://bvb-new-primo.hosted.exlibrisgroup.com/primo_library/libweb/action/search.do*vid=49BVB_TUM01_VU1*
// @match        *://bvb-new-primo.hosted.exlibrisgroup.com/primo_library/libweb/action/dlSearch.do*vid=49BVB_TUM01_VU1*
// @match        *://mediatum.ub.tum.de/*
// @match        *://sfx.bib-bvb.de/*
// @match        *://ezb.uni-regensburg.de/ezeit/*bibid=TUM*
// @match        *://ezb.uni-regensburg.de/index.phtml*bibid=TUM*
// @match        *://rzblx1.uni-regensburg.de/ezeit/ezb.phtml*bibid=TUM*
// @match        *://rzblx10.uni-regensburg.de/dbinfo/*
// @match        *://dbis.uni-regensburg.de/dbinfo/dbliste.php*bibid=TUM*

// @match        *://science.sciencemag.org/*
// @match        *://www.sciencedirect.com/*
// @match        *://www.nature.com/*
// @match        *://pubchem.ncbi.nlm.nih.gov/*

// @match        *://*thieme-connect.de/*
// @match        *://link.springer.com/*
// @match        *://springer.com/*
// @match        *://apps.webofknowledge.com/*
// @match        *://www.emeraldinsight.com/*
// @match        *://www.degruyter.com/*
// @match        *://ieeexplore.ieee.org/*
// @match        *://onlinelibrary.wiley.com/*

// @match        *://www.video2brain.com/*

// @grant        none
// @namespace https://greasyfork.org/users/57483
// ==/UserScript==

/*
CHANGELOG
v 0.1: initial version
*/

/*
works for:
***intern***
TUM OPAC (*://opac.ub.tum.de/InfoGuideClient.tumsis/*)
TUM OPAC plus (*://bvb-new-primo.hosted.exlibrisgroup.com/primo_library/libweb/action/search.do*vid=49BVB_TUM01_VU1*)
TUM Mediatum pages (*://mediatum.ub.tum.de/*)
EZB (*://rzblx1.uni-regensburg.de/ezeit/ezb.phtml?bibid=TUM*)
DBIS (*://rzblx10.uni-regensburg.de/dbinfo/*)

***magazines/resaerch***
Science Journal pages (*://science.sciencemag.org/*)
ScienceDirekt Research Portal (*://www.sciencedirect.com/*)
Nature (*://www.nature.com/*)
Pubchem (*://pubchem.ncbi.nlm.nih.gov/*)

***ebooks/articles***
Thieme Connect (*://www.thieme.de/*)
Springer pages and Springer Link (*://springer.com/* ; *://link.springer.com/*
Reuters Web of science (*://webofknowledge.com/*)
Emerald Insights (*://www.emeraldinsight.com/*)
De Gruyter(*://www.degruyter.com/*)
IEEE Xplore (*://ieeexplore.ieee.org/*)
Wiley-VCH (*://onlinelibrary.wiley.com/*)

***elearning***
Video2Brain (*://www.video2brain.com/*)

excluded:
TUM Libary pages (*://ub.tum.de/*)
*/

(function() {
    'use strict';
    document.write('<center><img src="http://www.ub.tum.de/files/eacessbutton.jpg" height="40" width="40"></div><br><br>Resource is reloaded via TUM eAccess...<br><br>You are redirected form '+window.location.hostname+' to the fitting resource in the TUM eAccess system. Login may be required.<br><br>To change the behavior of this userscript open it in your Tapermonkey or Greasemonkey extention.<br><br><br><br>Thanks for using eAccess reloader.</center>');
    void(location.href='https://eaccess.ub.tum.de/login?url='+location.href); //default way to reload via eacess
})();