Hi everyone. I’m trying to access the name attribute of a window but I’m unsure of the correct syntax in this case due to the wrapped object. I’m doing this in a script executed by a frame script.
Object.defineProperty(window.wrappedJSObject["Self"].prototype,
"name",
{
writable: true,
value: "test"
});
Accessing others such as the navigator via the wrapped object works fine .
Any ideas ?
Thanks