// ==UserScript== // @name TUM eAccess Redirector // @name:de TUM eAccess Redirector // @version 1.0.0.5 // @description Automatically redirect to the proxified equivalent as provided by the libary of the Technische Universitaet Muenchen 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 // @namespace https://greasyfork.org/users/57483 // @require https://code.jquery.com/jquery-3.1.0.min.js // @match *://*.eaccess.ub.tum.de/* // @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/*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 *://*.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.worldscientific.com/* // @match *://ebooks.worldscinet.com/* // @match *://*.ncbi.nlm.nih.gov/* // @match *://*.tandfonline.com/* // @match *://*.biochemj.org/* // @match *://*.aappublications.org/* // @match *://*.ovid.com/* // @match *://*.scopus.com/* // @match *://*.annualreviews.org/* // @match *://*.thiemebilddatenbankanatomie.de/* // @match *://*.jove.com/* // @match *://*.jstor.org/* // @match *://app.knovel.com/* // @match *://tecfinder.wti.frankfurt.de/* // @match *://*.gbv.de/* // @match *://roempp.thieme.de/* // @match *://*.cas.org/* // @match *://stneasy.fiz-karlsruhe.de/* // @match *://*.umwelt-online.de/* // @match *://*.acs.org/* // @match *://*.rsc.org/* // @match *://*.gbv.de/* // @match *://www.reaxys.com/* // @match *://*.aacrjournals.org/* // @match *://*.bmj.com/* // @match *://www.hematologylibrary.org/* // @match *://www.karger.com/* // @match *://web.b.ebscohost.com/* // @match *://search.ebscohost.com/* // @match *://*.agu-hochschulen.de/* // @match *://elibrary.asabe.org/* // @match *://www.hanser-elibrary.com/* // @match *://www.ami-informiert.de/* // @match *://www.allthatstats.com/* // @match *://www.oecd-ilibrary.org/* // @match *://www.ams.org/* // @match *://www.ems-ph.org/* // @match *://*.siam.org/* // @match *://zbmath.org/* // @match *://proquest.tech.safaribooksonline.de/* // @match *://www.zentralblatt-math.org/* // @match *://error.incites.thomsonreuters.com/error/Error*DestApp=IC2ESI&*Error=IPError // @match *://error.incites.thomsonreuters.com/error/Error*DestApp=IC2JCR&*Error=IPError // @match *://login.webofknowledge.com/error/Error*Error=IPError // @match *://global.factiva.com/ // @match *://www.video2brain.com/* // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle // @downloadURL none // ==/UserScript== /* not working (external access permitted): UPTODATE ://www.uptodate.com/ Chemical abstracts http://webcsd.ccdc.cam.ac.uk DIN-Normen etc. ://tum.eresearchcenter.eu Emerald http://www.emeraldgrouppublishing.com not working: */ function core(mode){ var domain = location.href; var hostname = document.location.hostname; GM_setValue('last_domain_hostname', hostname); //special rules - bugfixes //Reaxys if(domain.indexOf('www.reaxys.com/reaxys/session.do') != -1){var domain = 'https://www-reaxys-com.eaccess.ub.tum.de/reaxys/secured/search.do';} //Essential science indicators Thomas Reuters InCites if(hostname == 'error.incites.thomsonreuters.com' && domain.indexOf('error.incites.thomsonreuters.com/error/Error?DestApp=IC2ESI') != -1){var domain = 'https://esi.incites.thomsonreuters.com/IndicatorsAction.action';} //Journal Citation Reports Thomas Reuters InCites if(hostname == 'error.incites.thomsonreuters.com' && domain.indexOf('error.incites.thomsonreuters.com/error/Error?DestApp=IC2JCR') != -1){var domain = 'https://jcr.incites.thomsonreuters.com/JCRJournalHomeAction.action';} //WebofScience/WebofKnowledge if(hostname == 'login.webofknowledge.com'){var domain = 'https://apps.webofknowledge.com/';} switch(mode) { case 1: //confirmation mode if (window.confirm("Redirect to TUM eAccess?")){void(window.document.location.replace('https://eaccess.ub.tum.de/login?url='+domain)); } break; case 2: //html page mode var html = '
Installationsseite
Version: 1.0.0.x
Autor: zsewa