From 7a28a056e7c78a759e965949578af18d89b51d57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Thu, 23 Feb 2023 23:10:05 -0300 Subject: [PATCH] qutebrowser: fix more stackexchange websites with darkmode --- user/qutebrowser/colors.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/user/qutebrowser/colors.nix b/user/qutebrowser/colors.nix index a22c938..75b1b71 100644 --- a/user/qutebrowser/colors.nix +++ b/user/qutebrowser/colors.nix @@ -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; }