Greasy Fork is available in English.

Discussions » Demandes de création de scripts

Script to block JS-Windows in Chrome Browser, Tampermonkey

§
Posté le: 2014-12-09

Script to block JS-Windows in Chrome Browser, Tampermonkey

Hi Community,

I am looking for script which blockes ALL JS-windows in Chrome (via Tampermonkey or any other solution).
i.e. the notification if you want to leave a page, or a JS-window which pops up when entering a web page. Not knowing much about JS, I guess those two events are "onbeforeunload" and "onbeforeload". I want these functions to be completely disabled if possible.

Many thanks in advance for your help!

§
Posté le: 2014-12-09

Maybe Script Safe?

woxxomMod
§
Posté le: 2014-12-09
Édité le: 2014-12-09

I use a script to remove grooveshark's onbeforeunload.
As for onbeforeload, there's no such event, instead there are many other ways to display popups on page open.

Poster une réponse

Connectez-vous pour poster une réponse.