Anchors toggle
Show or hide all anchors (elements with id
or
name
attributes) on the page.
BitBucket comments minimize
In BitBucket PRs, some workflows (or long-winded reviews) can pile up a lot of comments. Unfortunately, you have to scroll past all the comments to get to the diff. It's much easier to do that if all the comments are automatically collapsed and can be expanded with a click. This collapses (minimizes) the PR comments.
BitBucket merge
In BitBucket PRs, when you have the 'squash merge' feature enabled (which you really should), the default commit message is formatted really badly:
Merged in your-branch (pull request #nnn) Real first line Other lines
So when you do git log --oneline
, the one-line summary
logs are full of inscrutable 'Merged in...' messages which don't describe
the actual commits themselves. This is a long-standing issue known to
BitBucket: https://jira.atlassian.com/browse/BCLOUD-19402.
This bookmarklet fixes the message to look like this:
Real first line (PR #nnn) Other lines
Then it copies the fixed text to the clipboard and asks you to paste it into the commit message textbox. Unfortunately this extra step seems unavoidable because of the way the BitBucket textbox is designed. But it works fairly well. To use it, you click on the bookmarklet instead of clicking on the PR's 'Merge' button. Then you do a paste operation, and click the dialog box's 'Merge' button.
External links
Show external links on the page visually. Suffixes the text of the hyperlink with its hostname.
Home page
Go to this site's home page.
Odoc index
If you are viewing an odoc-generated OCaml documentation module page like this, this bookmarklet will generate an alphabetically-sorted index of the contents of the module, and inject it into the left sidebar.
Paste enable
Some very annoying websites disable the paste functionality on some of their inputs by hijacking the paste event. This re-enables paste functionality.
Scroll toggle
Scroll to the top or bottom of the page.
Sticky kill
Kill sticky elements that hide parts of the page beneath them.
âšī¸ Go to https://github.com/t-mart/kill-sticky to install this bookmarklet.
URL decrement
Decrement the last number in the URL and navigate to the resulting page.
URL increment
Increment the last number in the URL and navigate to the resulting page.
Whois lookup
Do a WHOIS lookup of the current domain.