Bitbucket: PR author avatar as favicon

Set Bitbucket PR favicon to author's avatar

Cài đặt script này?
Script được tác giả gợi ý

Bạn có thế thích Bitbucket: copy commit reference

Cài đặt script này
Tác giả
andrybak
Cài đặt hàng ngày
0
Số lần cài đặt
8
Đánh giá
0 0 0
Phiên bản
3
Đã tạo
30-01-2023
Đã cập nhật
17-02-2023
Giấy phép
MIT
Áp dụng cho

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.