mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 12:36:37 +02:00
Created way to load test page with no initial read access.
This commit is contained in:
parent
820f187d35
commit
584f178ff7
1 changed files with 4 additions and 2 deletions
|
@ -34,9 +34,11 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
show(document.getElementById("top"), topTest());
|
if (location.search !== "?notInitial"){
|
||||||
|
show(document.getElementById("top"), topTest());
|
||||||
|
show(document.getElementById("iframe"), iframeTest());
|
||||||
|
}
|
||||||
document.querySelector("#top button").addEventListener("click", function(){show(document.getElementById("top"), topTest());});
|
document.querySelector("#top button").addEventListener("click", function(){show(document.getElementById("top"), topTest());});
|
||||||
show(document.getElementById("iframe"), iframeTest());
|
|
||||||
document.querySelector("#iframe button").addEventListener("click", function(){show(document.getElementById("iframe"), iframeTest());});
|
document.querySelector("#iframe button").addEventListener("click", function(){show(document.getElementById("iframe"), iframeTest());});
|
||||||
}());
|
}());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue