JavaScript class override for all frames

If an injected JavaScript code modifies Date class

Date = new Proxy(Date, { ...

or

Date.prototype.toString = function() { ...

on the top level of the window/document, would those override changes apply also to all frames and iframes recursively?

If not, is there a way to force it?

78 thoughts on “JavaScript class override for all frames”

Leave a Comment