mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
Made checkStack available during interception.
This commit is contained in:
parent
d122f90655
commit
e4c65d415e
3 changed files with 27 additions and 11 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
|
||||
const {when: unload} = require("sdk/system/unload");
|
||||
const {check} = require("./check.js");
|
||||
const {check, checkStack} = require("./check.js");
|
||||
const {notify} = require("./notifications");
|
||||
|
||||
const _ = require("sdk/l10n").get;
|
||||
|
@ -53,6 +53,9 @@
|
|||
var status = check(ev.data);
|
||||
return status;
|
||||
});
|
||||
addMessageListener("canvasBlocker-checkStack", function(ev){
|
||||
return checkStack(ev.data);
|
||||
});
|
||||
|
||||
addMessageListener("canvasBlocker-notify", function(ev){
|
||||
var browser = ev.target;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue