mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 12:50:36 +01:00
parent
2da680bfcb
commit
5785c3c2a0
@ -32,3 +32,23 @@ Object.keys(navigator.__proto__).sort().forEach(function(property){
|
||||
log(property + ": " + value);
|
||||
}
|
||||
});
|
||||
|
||||
var section = document.createElement("h2");
|
||||
section.textContent = "Values in iFrame";
|
||||
document.getElementById("log").append(section);
|
||||
|
||||
log = createLog();
|
||||
|
||||
var iframe = document.createElement("iframe");
|
||||
document.body.appendChild(iframe);
|
||||
var iframeWindow = frames[frames.length - 1];
|
||||
|
||||
Object.keys(navigator.__proto__).sort().forEach(function(property){
|
||||
"use strict";
|
||||
|
||||
var value = iframeWindow.navigator[property];
|
||||
if ((typeof value) === "string"){
|
||||
log(property + "@iframe: " + value);
|
||||
}
|
||||
});
|
||||
document.body.removeChild(iframe);
|
Loading…
x
Reference in New Issue
Block a user