Last active
October 31, 2023 11:46
-
-
Save abaumg/0603f78cc21fdd7bb787989aa77a7e04 to your computer and use it in GitHub Desktop.
Bookmarklet: Dim viewed files in the side bar when reviewing BitBucket pull requests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function()%7Bvar%20styleNode%20%3D%20document.createElement('style')%3B%0AstyleNode.type%20%3D%20'text%2Fcss'%3B%0AstyleNode.appendChild(document.createTextNode('%23bb-sidebar%20li%20a%20%7B%20--ds-text-subtlest%3A%20%232405ff%3B%20--ds-text-disabled%3A%20%23c8c8c8cc%3B%20%7D'))%3B%0Adocument.getElementsByTagName('head')%5B0%5D.appendChild(styleNode)%3B%7D)()%3B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var styleNode = document.createElement('style'); | |
styleNode.type = 'text/css'; | |
styleNode.appendChild(document.createTextNode('#bb-sidebar li a { --ds-text-subtlest: #2405ff; --ds-text-disabled: #c8c8c8cc; }')); | |
document.getElementsByTagName('head')[0].appendChild(styleNode); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment