Last active
January 14, 2019 13:05
-
-
Save CSymes/7e3b0062e98de6c010763de8b5408b02 to your computer and use it in GitHub Desktop.
Automatically redirects several 'scholarly' websites to use RMIT's proxy, allowing full access without having to manually use the proxy pages.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name RMIT Proxifier | |
// @namespace com.plasticsquid.rmit-proxy | |
// @version 1.2 | |
// @description Redirect IEEE Xplore pages to use RMIT proxy | |
// @author Cary Symes | |
// @match *ieeexplore.ieee.org/* | |
// @match *www.sciencedirect.com/* | |
// @match *scholar.google.com/* | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== | |
// Hosted at https://gist.github.com/CSymes/7e3b0062e98de6c010763de8b5408b02 | |
(function() { | |
'use strict'; | |
document.location.replace(window.location.href.replace('ieeexplore.ieee.org', 'ieeexplore-ieee-org.ezproxy.lib.rmit.edu.au')); | |
document.location.replace(window.location.href.replace('www.sciencedirect.com', 'www-sciencedirect-com.ezproxy.lib.rmit.edu.au')); | |
document.location.replace(window.location.href.replace('scholar.google.com', 'scholar-google-com-au.ezproxy.lib.rmit.edu.au')); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment