ghostery / ghostery-extension

Ghostery Browser Extension for Firefox, Chrome, Opera, Edge and Safari
Mozilla Public License 2.0
1.34k stars 140 forks source link

Fix close Opera SERP popup actions after reloading extension #1629

Closed smalluban closed 3 weeks ago

smalluban commented 3 weeks ago

Fxies #1604

This is not a real fix to the problem.

After reloading the extension all of the open contexts are broken - any action from Chrome API results in the error of "Cotext invalidated"... This is expected.

The only thing we can do is catch errors and force the popup window to disappear (I did it by removing the whole body element). There is no way to communicate to another context to remove the iframe.