From 216ed0e0b2df6e25fbdbe034c4be26e9c46dc5ad Mon Sep 17 00:00:00 2001 From: Mark Hammond Date: Wed, 1 Jun 2022 10:51:47 +1000 Subject: [PATCH] Fix unregistering of the addon. (#86) I previously moved away from a data: URL for registration because it stopped working, but forgot to update the unregistration. --- ext_bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext_bootstrap.js b/ext_bootstrap.js index a37337a..4321ad1 100644 --- a/ext_bootstrap.js +++ b/ext_bootstrap.js @@ -165,7 +165,7 @@ function shutdown(data, reason) { log("extension is shutting down"); // Stop registering about:sync in new processes. - Services.ppmm.removeDelayedProcessScript(DATA_URI_REGISTER_ABOUT); + Services.ppmm.removeDelayedProcessScript("chrome://aboutsync/content/RegisterRedirector.js"); // And unregister about:sync in any processes we've already loaded in. Services.ppmm.loadProcessScript("chrome://aboutsync/content/UnregisterRedirector.js", true);