darkreader 4.9.94 → 4.9.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/darkreader.js +8 -6
- package/package.json +1 -1
package/darkreader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Dark Reader v4.9.
|
|
2
|
+
* Dark Reader v4.9.95
|
|
3
3
|
* https://darkreader.org/
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -2136,10 +2136,8 @@
|
|
|
2136
2136
|
".fat",
|
|
2137
2137
|
".icofont",
|
|
2138
2138
|
'[style*="font-"]',
|
|
2139
|
-
'[class*="icon"]',
|
|
2140
|
-
'[class*="
|
|
2141
|
-
'[class*="symbol"]',
|
|
2142
|
-
'[class*="Symbol"]',
|
|
2139
|
+
'[class*="icon"i]',
|
|
2140
|
+
'[class*="symbol"i]',
|
|
2143
2141
|
".glyphicon",
|
|
2144
2142
|
'[class*="material-symbol"]',
|
|
2145
2143
|
'[class*="material-icon"]',
|
|
@@ -2734,6 +2732,7 @@
|
|
|
2734
2732
|
function joinSelectors(...selectors) {
|
|
2735
2733
|
return selectors.filter(Boolean).join(", ");
|
|
2736
2734
|
}
|
|
2735
|
+
const hostsWithOddScrollbars = ["calendar.google.com"];
|
|
2737
2736
|
function getModifiedUserAgentStyle(theme, isIFrame, styleSystemControls) {
|
|
2738
2737
|
const lines = [];
|
|
2739
2738
|
if (!isIFrame) {
|
|
@@ -2802,7 +2801,10 @@
|
|
|
2802
2801
|
` color: ${modifyForegroundColor({r: 0, g: 0, b: 0}, theme)} !important;`
|
|
2803
2802
|
);
|
|
2804
2803
|
lines.push("}");
|
|
2805
|
-
if (
|
|
2804
|
+
if (
|
|
2805
|
+
theme.scrollbarColor &&
|
|
2806
|
+
!hostsWithOddScrollbars.includes(location.hostname)
|
|
2807
|
+
) {
|
|
2806
2808
|
lines.push(getModifiedScrollbarStyle(theme));
|
|
2807
2809
|
}
|
|
2808
2810
|
if (theme.selectionColor) {
|