Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further refinement, fix Chrome top bar item color
- Loading branch information
Showing
6 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
document.addEventListener("DOMContentLoaded", -> | ||
# Google uses a "color: #fff !important" CSS clause on the currently | ||
# selected top bar element. For some reason (probably extension element | ||
# loading order technicalities), in Chrome our style override in | ||
# UnFuckGoogle.css is not getting precedence. So, set the style on the | ||
# element itself for maximum specificity. | ||
document.getElementsByClassName('gbz0l')[0].lastChild.setAttribute('style', 'color:black !important') | ||
, false) |