Home > Web Front-end > JS Tutorial > body text

Precautions for using Firefox window.close()_Basic knowledge

WBOY
Release: 2016-05-16 18:54:25
Original
787 people have browsed it

The solution is as follows:
Enter about:config in the Firefox address bar
Find dom.allow_scripts_to_close_windows in the configuration list
Right-click and select to change the above false to true.
Note: The default is false to prevent the script from closing the window randomly
Of course, if the window is opened through window.open, it can be closed.

The best closing method compatible with multiple browsers, this site has been updated before
http://www.jb51.net/article/16788.htm

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template