|
|
|
|
|
by dkopi
3620 days ago
|
|
Good point, but that's assuming you're running in the context of the popup and not in the context of a content script.
In the popup's script, you are using a new DOM. But in a content script - you're using the same DOM as the client, which can override createElement
(and any other function as well). |
|
The untrusted script can override its own view of createElement, but not the extension's view.