Greasy Fork镜像 is available in English.

Συζητήσεις » Αιτήματα Δημιουργίας

Script to block JS-Windows in Chrome Browser, Tampermonkey

§
Δημοσιεύτηκε: 09/12/2014

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!

Jixun.MoeΣυντονιστής
§
Δημοσιεύτηκε: 09/12/2014

Maybe Script Safe?

woxxomΣυντονιστής
§
Δημοσιεύτηκε: 09/12/2014
Επεξεργάστηκε: 09/12/2014

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.

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元