-1

I need my Firefox extension to proxy an object defined by page scripts on page load. The problem is that page scripts are not allowed to access the window properties defined by content scripts and cloneInto() does not support cloning of Proxy objects. I've tried window.eval('window.propertyName = new Proxy(...)') but it doesn't work.

So, how can I redefine objects in the page context?

mashinka
  • 9
  • 2

0 Answers0