AADL NYTimes Bookmarklet
The Ann Arbor District Library (AADL) offers free digital access to the New York Times for members. However, it can be a bit of a pain to access.
To make it easier, you can add this link as a browser bookmark: đź“° Access through AADL. You can do this by:
- Select and drag the link into your bookmarks bar,
- right click the link and use the option to add a bookmark, or
- find an option to add a bookmarklet manually, copy the code from the link above, and paste it as the URL.
Then, any time you are on a New York Times page (including one that is restricted), you can click the bookmark link to access it.
How does it work?
When you click the link, a short JavaScript snippet gets run to navigate to access that page through the AADL. The code runs the code at the end of the page, (which simply replaces the "www.nytimes.com" domain with "www-nytimes-com.research.aadl.org"). More specifically, clicking the link runs the following code:
window.location.href = window.location.href.replace(/https:\/\/www.nytimes.com\//, "https://www-nytimes-com.research.aadl.org/");
Credit
The explanation of how to add the bookmarklet is taken from a page describing another (very useful) bookmarklet from Michigan Libraries.