Bookmarklets

To install one, drag its button to your browser’s bookmarks bar. Then click the bookmark while you’re on the page you want to use it on. (Clicking the button here won’t do anything.)

Increment URL

#

Goes to the next page by adding one to the number at the end of the URL. Handy for paging through issues, photos, or anything else with sequential IDs.

Increment URL Source on GitHub

View without cache

#

Reloads the page with a unique dontCache query parameter, so CDNs and other caches miss and the server sends a fresh copy. Handy when checking whether a change has really shipped.

View without cache Source on GitHub

Pages toggle

#

Toggles between a GitHub Pages site and the repository that publishes it: from github.com/owner/repo to owner.github.io/repo/, and back.

Pages toggle Source on GitHub

Limitations

  • Browsers only allow clipboard writes right after a user action, so Copy issue link has to be clicked from the bookmarks bar.
  • Pages toggle works by reading the URL, so it can’t recognize GitHub Pages sites on custom domains.
  • Some sites’ Content Security Policy blocks bookmarklets in Firefox.
  • They’re tested in Chromium and Firefox. They may work in other browsers, but I haven’t checked.

The source and tests are in benbalter/bookmarklets.