mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-08 20:54:49 +01:00
parent
66536113e8
commit
b968e3e7a0
@ -48,11 +48,11 @@
|
|||||||
|
|
||||||
frames.forEvery(function(frame){
|
frames.forEvery(function(frame){
|
||||||
frame.addEventListener("DOMWindowCreated", function(ev){
|
frame.addEventListener("DOMWindowCreated", function(ev){
|
||||||
if (enabled){
|
|
||||||
var subject = ev.target.defaultView;
|
|
||||||
function notify(data){
|
function notify(data){
|
||||||
frame.port.emit("canvasBlocker-notify", data);
|
frame.port.emit("canvasBlocker-notify", data);
|
||||||
}
|
}
|
||||||
|
if (enabled){
|
||||||
|
var subject = ev.target.defaultView;
|
||||||
intercept(
|
intercept(
|
||||||
{subject},
|
{subject},
|
||||||
{check, checkStack, ask: askWrapper, notify, prefs}
|
{check, checkStack, ask: askWrapper, notify, prefs}
|
||||||
|
@ -7,6 +7,7 @@ Version 0.3.7:
|
|||||||
|
|
||||||
fixes:
|
fixes:
|
||||||
- fake at input was broken
|
- fake at input was broken
|
||||||
|
- did not work at all in Firefox 45.7.0 (ESR)
|
||||||
|
|
||||||
Version 0.3.6:
|
Version 0.3.6:
|
||||||
changes:
|
changes:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user