cannot close the page in mozilla, so i set dom.allow_scripts_to_close_windows true manually.
then i used window.close() its works fine.

my problem is,
i want to set dom.allow_scripts_to_close_windows enable true automatically using javascript code, its possible are not?

cannot close the page in mozilla, so i set dom.allow_scripts_to_close_windows true manually.
then i used window.close() its works fine.

my problem is,
i want to set dom.allow_scripts_to_close_windows enable true automatically using javascript code, its possible are not?

Read - Signed script.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.