Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: safari/ext/content.js

Issue 5186743326212096: Issue 1843 - Deactivate "Block element" dialog when extension is disabled/uninstalled/reloaded (Closed)
Patch Set: Created Jan. 23, 2015, 9:47 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« chrome/ext/background.js ('K') | « include.postload.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: safari/ext/content.js
===================================================================
--- a/safari/ext/content.js
+++ b/safari/ext/content.js
@@ -428,4 +428,12 @@
}
}
});
+
+
+ /* Detecting extension reload/disable/uninstall (not supported on Safari) */
+
+ ext.onExtensionUnloaded = {
+ addListener: function() {},
+ removeListener: function() {}
+ };
})();
« chrome/ext/background.js ('K') | « include.postload.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld