Skip to content

Instantly share code, notes, and snippets.

@davemacdo
Created January 10, 2023 01:58
Embed
What would you like to do?
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