Bitbucket: PR author avatar as favicon

Set Bitbucket PR favicon to author's avatar

Install this script?
Author's suggested script

You may also like Bitbucket: copy commit reference.

Install this script
Author
andrybak
Daily installs
0
Total installs
5
Ratings
0 0 0
Version
3
Created
2023-01-30
Updated
2023-02-17
License
MIT
Applies to

Bitbucket: PR author avatar as favicon

Screenshot comparing two pairs of browser tabs: one pair with and one without this userscript

This user script changes favicons of Bitbucket pull request pages (tab icon in browsers) to the avatar of pull request's author, which makes it easier to distinguish browser tabs.

This script supports both Bitbucket Server and Bitbucket Cloud.

Instructions

The script uses @include rules to work on any domain that includes the word bitbucket. If your browser doesn't support @include (which might happen in the future when Chrome switches to Manifest V3 browser extensions) or your Bitbucket instance uses a domain which doesn't include the word bitbucket, you'll have to manually add your domain. Up-to-date instructions are at https://github.com/rybak/atlassian-tweaks#custom-domains

Source code

Source code and full history can be seen on GitHub: https://github.com/rybak/atlassian-tweaks/blob/main/bitbucket-pull-request-avatars.user.js

See also

More user scripts and user styles for Jira, Confluence, and Bitbucket in set Atlassian Tweaks.

More userscripts for changing tab icons in script set Tab icon replacers.