mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-11-10 23:28:51 +01:00
parent
46ba7c666b
commit
579b778062
@ -123,8 +123,11 @@
|
||||
var observer = new MutationObserver(allCallback);
|
||||
var observing = false;
|
||||
function observe(){
|
||||
if (!observing){
|
||||
observer.observe(window.document.documentElement, {subtree: true, childList: true});
|
||||
if (
|
||||
!observing &&
|
||||
window.document
|
||||
){
|
||||
observer.observe(window.document, {subtree: true, childList: true});
|
||||
observing = true;
|
||||
}
|
||||
}
|
||||
|
@ -12,6 +12,7 @@ Version 0.5.10:
|
||||
- not connected iFrame threw error with persistent rng
|
||||
- detection over document.write and document.writeln was possible
|
||||
- google docs were broken in Waterfox
|
||||
- MutationObserver failed in some instances
|
||||
|
||||
known issues:
|
||||
- if a data URL is blocked the page action button does not appear
|
||||
|
Loading…
Reference in New Issue
Block a user