This file contains 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 ACMSchoolProxy | |
// @namespace acm | |
// @description rewrites ACM urls to go through a school proxy to allow access to the material | |
// @include http://portal.acm.org/* | |
// ==/UserScript== | |
// Change this to whatever proxy your school uses | |
SCHOOL_URL = 'ezproxy.lib.ryerson.ca'; | |
location.href = location.href.replace(location.hostname, location.hostname + '.' + SCHOOL_URL); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment