qutebrowser: fix more stackexchange websites with darkmode

This commit is contained in:
Leonardo Eugênio 2023-02-23 23:10:05 -03:00
parent ab8b3d4a87
commit 7a28a056e7

View file

@ -197,11 +197,18 @@ in
}
const ignore_list = [
"askubuntu.com",
"mathoverflow.com",
"mathoverflow.net",
"serverfault.com",
"stackapps.com",
"stackexchange.com",
"stackoverflow.com",
"superuser.com",
];
for (let item of ignore_list) {
if (window.location.origin.indexOf(item) > 0) {
if (window.location.origin.indexOf(item) >= 0) {
console.log("URL matched dark-mode ignore list");
return;
}