NOTICE: By continued use of this site you understand and agree to the binding Điều khoản dịch vụ and Chính sách bảo mật.
Install steps: Install a userscript manager, select Install, then open a website matched by the script.
Userscript dành cho người mới bắt đầu HOWTO Chrome Edge Firefox
The following figures come from the original source and are separate from activity on this site.
Original script: HTMLダイアログ無効化
Source version: 3.0.1
Last source check:
Last successful check:
Requests received by this site are not proof that a user completed installation.
Clicking Install records a request on this site; it does not confirm installation. Not working after install? View troubleshooting and issues
This script disables the third argument (features) of the Window#open() method, and deletes the Window#showModalDialog() method.
I wrote the script because, in past versions of Firefox, browser.link.open_newwindow.restriction;0 had been ignored on user.js / prefs.js / about:config if dialog=yes was passed the third parameter (features) of the Window#open() method, or the Window#showModalDialog() method was called. However, dialog=yes was obsoleted in Firefox 44, and the Window#showModalDialog() method did too in Firefox 56, so the script is unnecessary in Firefox if you set browser.link.open_newwindow.restriction to 0.
* On Microsoft Edge extension Tampermonkey, user scripts only work in pages that Content Security Policy allows eval() function because of Issue #11320212. If you open a page that eval() function disallowed, extension blocked is reported automatically. The script is affected by the bug of the browser because the script applies to all web pages.
Đánh giá: 0