From 51a6893fddcfeea0072cc9745bd6db5fc68013b6 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 25 Jul 2019 18:56:43 -0700 Subject: [PATCH] Don't try to disable 4chan native extension on non-4chan sites. --- src/General/Settings.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/General/Settings.coffee b/src/General/Settings.coffee index cccf7968b..80bc72c53 100644 --- a/src/General/Settings.coffee +++ b/src/General/Settings.coffee @@ -21,7 +21,7 @@ Settings = $.on d, 'AddSettingsSection', Settings.addSection $.on d, 'OpenSettings', (e) -> Settings.open e.detail - if Conf['Disable Native Extension'] + if g.SITE.software is 'yotsuba' and Conf['Disable Native Extension'] if $.hasStorage # Run in page context to handle case where 4chan X has localStorage access but not the page. # (e.g. Pale Moon 26.2.2, GM 3.8, cookies disabled for 4chan only)