Bitbucket: PR author avatar as favicon

Set Bitbucket PR favicon to author's avatar

Zainstaluj skrypt?
Skrypt zaproponowany przez autora

Może Ci się również spodobać. Bitbucket: copy commit reference

Zainstaluj skrypt
Autor
andrybak
Dziennych instalacji
0
Wszystkich instalacji
8
Oceny
0 0 0
Wersja
3
Utworzono
30-01-2023
Zaktualizowano
17-02-2023
Licencja
MIT
Dotyczy

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.