Skip to content

Instantly share code, notes, and snippets.

@davemacdo
Created January 10, 2023 01:58
Show Gist options
  • Save davemacdo/f474e397fa4b02eac53825e8039948f4 to your computer and use it in GitHub Desktop.
Save davemacdo/f474e397fa4b02eac53825e8039948f4 to your computer and use it in GitHub Desktop.
read via WSU bookmarklet
javascript:(function() {
var currentUrl = window.location.href;
var urlParts = currentUrl.split('/');
var subdomain = urlParts[2].replace(/\./g, '-');
window.location.href = 'https://' + subdomain + '.proxy.wichita.edu/' + urlParts.slice(3).join('/');
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment