AdguardTeam / PopupBlocker

Popup blocking userscript
GNU Lesser General Public License v3.0
337 stars 31 forks source link

Missed page replication in code.ptcong.com #45

Closed theseanl closed 5 years ago

theseanl commented 7 years ago

In http://code.ptcong.com/demos/bjp/demo.html?type=tabunder, a popunder script replicates the page to a new tab, and navigates the parent tab to a new page. However, this is currently undetected, and the second line of defense, beforeunload event handler is triggered. Also, replicating a link url is not detected.

theseanl commented 6 years ago

Should be fixed by https://github.com/AdguardTeam/PopupBlocker/commit/43d1fa1290a47b71ce7ec898ba86b757191d7431, although preventDefault is not being prevented for now. This is a separate issue to be dealt with.

theseanl commented 6 years ago
karina-archazh commented 6 years ago

Checked