diff --git a/options/options.js b/options/options.js index ecc3aeb..e66c4e6 100644 --- a/options/options.js +++ b/options/options.js @@ -30,7 +30,7 @@ logging.notice("empty storage"); settings.persistentRndStorage = ""; logging.notice("send message to main script"); - browser.runtime.sendMessage({"canvasBlocker-clear-domain-rnd": true}); + extension.message.send({"canvasBlocker-clear-domain-rnd": true}); }, inspectSettings: function(){ logging.verbose("open settings inspection");