Bitbucket: PR author avatar as favicon

Set Bitbucket PR favicon to author's avatar

სკრიპტის ინსტალაცია?
ავტორის შემოთავაზებული სკრიპტი

შეიძლება მოგეწონოს Bitbucket: copy commit reference.

სკრიპტის ინსტალაცია
ავტორი
andrybak
დღიური ინსტალაციები
0
მთლიანი ინსტალაციები
8
რეიტინგი
0 0 0
ვერსია
3
შექმნილია
30.01.2023
განახლებულია
17.02.2023
ლიცენზია
MIT
გამოყენებს მათ

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.