mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-03 20:16:33 +02:00
parent
5077c86859
commit
0ce446cf52
3 changed files with 134 additions and 4 deletions
|
@ -7,6 +7,7 @@
|
|||
<button>submit</button>
|
||||
</form>
|
||||
<script>
|
||||
const origin = "iframe";
|
||||
function draw(canvas){
|
||||
"use strict";
|
||||
|
||||
|
@ -80,7 +81,7 @@
|
|||
if (this.readyState === 4){
|
||||
const status = this.status;
|
||||
if (status === 200 || status === 304) {
|
||||
console.log("Sending xhr successful:", this);
|
||||
console.log("Sending xhr successful from", origin, ":", data);
|
||||
}
|
||||
else {
|
||||
console.log("Sending xhr failed:", this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue