Skip to Main Content

Library proxy: Android bookmarklet

Information about the library's proxy, and instructions for creating bookmarklets.

Instructions

Mobile browsers require several taps and some copy-paste to install a bookmarklet, but if you set it up, the mobile version is easy to use.

Part One: Creating the Bookmark

  1. Open Chrome browser and view this page (the one you’re reading now)
  2. Tap on the star icon next to the URL
  3. Tap Save to create a bookmark
  4. Note where it saves, for example, In Mobile Bookmarks

Part Two: Editing the Bookmarklet

  1. Select and copy the entire bookmarklet code.
    javascript:void((function(){location.href='https://libproxy.berkeley.edu/login?qurl='+encodeURIComponent(location.href);})());
  2. Tap the menu options icon Android menu icon and select Bookmarks. Be sure you’re viewing Mobile Bookmarks or wherever you saved it
  3. Tap and hold to choose the Android bookmarklet bookmark and then Edit bookmark
  4. Delete text from address/URL field
  5. Paste to add the javascript code instead
  6. Tap Save

Using the Bookmarklet

  1. NOTE: Bookmarklet is only needed if you go directly to a journal, database or article – not starting from a link on a UCB Library website.
  2. Clicked to view an article and not granted full access? Start typing “Android bookmarklet” into the address/URL above resource. Choose the suggestion with “javascript:void” below it to trigger the bookmarklet.
  3. You will be prompted to log in via CalNet or PIN / Cal 1 card.
  4. Once authenticated as UCB, you should get access.
  5. You will remain authenticated as UCB until you close the browser.

Problems?

Many thanks to UCSF for allowing us to re-use their excellent EZproxy guide.