From 801b33d928b770a7191995b376722e2281c838ff Mon Sep 17 00:00:00 2001 From: Ryan Kiernan <9ecd47bffdd0c8aa2532f937195e83006626b9cc@cloudflare.com> Date: Mon, 3 Aug 2020 03:35:22 +0200 Subject: [PATCH] cf.js --- addons/bcmaFX/cf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/bcmaFX/cf.js b/addons/bcmaFX/cf.js index 5e2993a05..90f15eb6f 100644 --- a/addons/bcmaFX/cf.js +++ b/addons/bcmaFX/cf.js @@ -1281,7 +1281,7 @@ browser.storage.local.get(null).then((d) => { }); browser.runtime.onMessage.addListener(function (a, b, c) { if (a[0] == 'cs') { - browser.tabs.sendMessage(b.tab.id, [a[1], my_cf_collection.includes(a[1]), my_xcs_a1, my_xcs_a2]); + browser.tabs.sendMessage(b.tab.id, [a[1], my_cf_collection.includes(get_realdomain(a[1])), my_xcs_a1, my_xcs_a2]); } if (a[0] == 'cf') { c([JSON.stringify(my_cf_collection), JSON.stringify(my_cf_ignore), my_action, my_customurl, [!my_nfo_alu, !my_nfo_cfd, my_xcs_a1, my_xcs_a2], my_nfo_lang]);