I've been doing some coding to compare two iframes and if they are different it would execute but instead it stays dull, is it the .length and if it is what can i use instead ill supply the code below its not much and im using two iframes, one with a auto clicker with js, two check a difference to update the page;
var iframeContent1 = iframeDocument.getElementById('frame');
var fr1 = Object.keys(iframeContent).length;
var fr2 = Object.keys(iframeContent1).length;
if(fr1 === fr2) {