1
0
Fork 0
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:
kkapsner 2016-11-13 14:51:58 +01:00
parent d122f90655
commit e4c65d415e
3 changed files with 27 additions and 11 deletions

View file

@ -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;