Skip to content

Instantly share code, notes, and snippets.

@napsternxg
Last active March 12, 2019 00:07
Show Gist options
  • Save napsternxg/be3f8337be2991583f4c to your computer and use it in GitHub Desktop.
Save napsternxg/be3f8337be2991583f4c to your computer and use it in GitHub Desktop.
UIUC Library Proxy Bookmarklet

UIUC Library Proxy Bookmarklet

What it does

This bookmarklet allows you to access content like papers, reports from scientific sites or any other website which can be opened easily when you are in UIUC network. The bookmarklet removes the hassle of finding the library proxy URL and then opening the site through that. It does that part automatically.

NOTE: You need to have an illinois.net account to use this bookmark.

Installation

  • Right click your bookmarks bar.
  • Select option to Create a new page...
  • Give a name to your page like UIUC Library Proxy
  • In the URL part put the following code.
javascript:proxyURL="http://www.library.illinois.edu/proxy/go.php?url="+window.location.href;console.log(proxyURL);window.open(proxyURL,"_self");void(0);
  • Click Save.

How to use:

  • If you are on a page for a paper which is usually accessible using UIUC network but not outside and you are a UIUC student, faculty or staff who has an illinois.net login.
  • Then, on that page just click on the button for the proxy from your bookmark bar.
  • If you are not logged into your UIUC account then you will be redirected to a link to enter your UIUC credentials (don't worry it is safe and you can confirm that by checking the URL in your address bar as well as the https sign before the URL)
  • After the login is complete, you can see that the full text for that article will be accessible as is when you are on UIUC network.

LICENSE

MIT

DISCLAIMER

I will not be responsible for any misuse of this bookmarklet or any usage of bookmarklet which is a modified version of this code.

Contact Me

/*
* Full code for the UIUC Library Proxy
* Author: Shubhanshu Mishra
* Creation Date: 8/8/2015
* LICENSE: MIT
*/
var proxyURL="http://www.library.illinois.edu/proxy/go.php?url="+window.location.href; // Sets the proxy URL for the page being viewed
console.log(proxyURL); // You can also see the proxy URL in the console.
window.open(proxyURL,"_self"); // Opens the URL
void(0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment