Greasy Fork is available in English.

Bitbucket: PR author avatar as favicon

Set Bitbucket PR favicon to author's avatar

Pasang skrip ini?
Sugesti pemilik skrip

Kamu mungkin juga suka Bitbucket: copy commit reference.

Pasang skrip ini
Penulis
andrybak
Pemasangan harian
0
Total pemasangan
8
Nilai
0 0 0
Versi
3
Dibuat
30 Januari 2023
Diperbarui
17 Februari 2023
Lisensi
MIT
Berlaku untuk

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.