mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
Simplified require and further linting.
This commit is contained in:
parent
01c1145e28
commit
dcb878392e
15 changed files with 86 additions and 78 deletions
|
@ -143,13 +143,6 @@
|
|||
});
|
||||
});
|
||||
|
||||
// warning("TODO: register unload events - do not know how - there seems to be no way with a WebExtension");
|
||||
// old code
|
||||
// const {when: unload} = require("sdk/system/unload");
|
||||
// unload(function(){
|
||||
// processes.port.emit("canvasBlocker-unload");
|
||||
// });
|
||||
|
||||
browser.runtime.onInstalled.addListener(function(){
|
||||
message("CanvasBlocker installed");
|
||||
browser.storage.local.get("storageVersion").then(function(data){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue