Before posting, I read the posts related to the header, and I'm sure there is a solution to my problem, but I'm such a n00b with extensions, JavaScript and JQuery. I can not tell...
Failure Code:
innerframe = $("<iframe/>").css({ top: WIDGET_TITLE_HEIGHT + "px", left: "0px", width: "100%", height: "1000px", border: "none", align: "center", display: "block"}) .appendTo(innerdiv) .load(function() { onStart() }) .attr({ frameBorder: 0, //scrolling:0, src: 'javascript:(function(){document.open();document.domain="' + document.domain + '";document.write(\' <!DOCTYPE html>' + '\');document.close();})();' })[0];
The string src: 'javascript ....' is an intruder, but I don’t know what this solution is.
The messages I read make it clear that the code is disrupting Chrome CSP, and I saw mention of messaging, sandboxing, etc.
I hope someone can provide a solution and help me understand what is happening.
Thanks in advance!
source share