interlock-network / threatslayer

A Chrome browser extension that protects you from malicious sites.
GNU General Public License v3.0
12 stars 3 forks source link

Convert current banner implementation to iFrame #16

Closed blairmunroakusa closed 1 year ago

blairmunroakusa commented 2 years ago

The current banner implementation is not secure as it could be due to potential CSS interference.

Using an iFrame appears to be the closest equivalent implementation of such a banner.

Convert the current extension banner implementation to iFrame.

If iFrame doesn't work for some reason, then we may need to entertain using a popout window.

Please implement in this branch: iFrame-banner

DecentralizedDan commented 2 years ago

@blairmunroakusa

Dude. The problem with iframes is that you cannot remove an iframe from within the context / window of that iframe

Here's what I tried: