Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

window.close() is not working

  • 12 답장
  • 0 이 문제를 만남
  • 1 보기
  • 최종 답변자: Venkataiah ch

more options

SLES 15.5 QU2 in Mozilla Firefox 115.8.0esr was not supporting window.close() even i added user_pref("dom.allow_scripts_to_close_windows", true); in user.js and prefs.js

SLES 15.5 QU2 in Mozilla Firefox 115.8.0esr was not supporting window.close() even i added user_pref("dom.allow_scripts_to_close_windows", true); in user.js and prefs.js

모든 댓글 (12)

more options

Any warning appears in the console?

도움이 되셨습니까?

more options

i checked about:config . i unable see the user_pref("dom.allow_scripts_to_close_windows", true);

도움이 되셨습니까?

more options

console output :

script may not close windows that were not opened by script

도움이 되셨습니까?

more options

Yup, that's correct.

도움이 되셨습니까?

more options

i checked about:config . i unable see the user_pref("dom.allow_scripts_to_close_windows", true);

도움이 되셨습니까?

more options

how i can fix the issues

도움이 되셨습니까?

more options

how I can added user_pref to close the window

도움이 되셨습니까?

more options

Q :Mozilla Firefox 115.8.0esr is have dom.allow_scripts_to_close_windows ChatGPT

A } As of Firefox version 115.8.0esr, the preference dom.allow_scripts_to_close_windows does not exist. This preference allows JavaScript code running in webpages to close the window or tab it's running in. However, Firefox doesn't have this preference in its configuration.

If you're looking to control whether JavaScript code can close windows or tabs, you might need to explore alternative methods or configurations available in the specific version of Firefox you're using. Always refer to the official documentation or release notes for accurate information about preferences and configurations in your Firefox version.

도움이 되셨습니까?

more options

venkataiah.chiripireddy93 said

i checked about:config . i unable see the user_pref("dom.allow_scripts_to_close_windows", true);

Try to add this pref directly in about:config (don't edit files). This pref exists and I'd say it should fix your issue. ChatGPT is lying as usual.

도움이 되셨습니까?

more options

i am able see anther error pop :

firefox already running , but is not reponding to use firefox you must frist close the exiting firefox process , restart your device , or use a different profile

글쓴이 Venkataiah ch 수정일시

도움이 되셨습니까?

more options

it's running more the 2 processer sdc has logged on console from :0. insite has logged on pts/0 from 10.213.255.248. insite has logged on pts/1 from 10.213.255.248. BLRMR238 home/insite# ps -ef | grep "firefox" sdc 8362 2068 2 14:17 ? 00:00:12 /usr/lib64/firefox/firefox -P iLinq -safe-mode /opt/gehc/mr_iLinq_data/root/UI/i18nFiles/iLinq_index_en_US.html sdc 8480 8362 0 14:17 ? 00:00:00 /usr/lib64/firefox/firefox -contentproc -parentBuildID 20240212204114 -prefsLen 20838 -prefMapSize 237721 -appDir /usr/lib64/firefox/browser {69237eef-e6b0-42f3-be37-f46e5cb6eeeb} 8362 true socket sdc 8500 8362 0 14:17 ? 00:00:00 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 21149 -prefMapSize 237721 -safeMode -parentBuildID 20240212204114 -appDir /usr/lib64/firefox/browser {3f8473bf-abdd-421a-8bbb-f67d3d4adb8a} 8362 true tab sdc 8584 8362 0 14:17 ? 00:00:00 /usr/lib64/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 21522 -prefMapSize 237721 -safeMode -parentBuildID 20240212204114 -appDir /usr/lib64/firefox/browser {6a30ad24-6a58-47f0-9bec-23b1a2475594} 8362 true tab sdc 8588 8362 0 14:17 ? 00:00:00 /usr/lib64/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 21522 -prefMapSize 237721 -safeMode -parentBuildID 20240212204114 -appDir /usr/lib64/firefox/browser {5eb2f089-83bf-4244-b271-c88e20b5687c} 8362 true tab sdc 8599 8362 0 14:17 ? 00:00:00 /usr/lib64/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 21522 -prefMapSize 237721 -safeMode -parentBuildID 20240212204114 -appDir /usr/lib64/firefox/browser {bdd80c3d-2b37-499b-89db-626627746cbe} 8362 true tab sdc 8714 8362 0 14:17 ? 00:00:02 /usr/lib64/firefox/firefox -contentproc -childID 5 -isForBrowser -prefsLen 23783 -prefMapSize 237721 -safeMode -parentBuildID 20240212204114 -appDir /usr/lib64/firefox/browser {0537e33d-6bfb-4dea-bb9f-469376adf1d7} 8362 true tab sdc 8807 8362 0 14:17 ? 00:00:00 /usr/lib64/firefox/firefox -contentproc -childID 6 -isForBrowser -prefsLen 29543 -prefMapSize 237721 -safeMode -parentBuildID 20240212204114 -appDir /usr/lib64/firefox/browser {4d8d1079-75f7-4ce1-b4c3-54ab533b79a4} 8362 true tab root 11356 11109 0 14:24 pts/1 00:00:00 grep firefox sdc 13698 2068 0 13:11 ? 00:00:02 /usr/lib64/firefox/firefox -P iLinq -safe-mode /opt/gehc/mr_iLinq_data/root/UI/i18nFiles/iLinq_index_en_US.html sdc 14462 13698 0 13:11 ? 00:00:00 /usr/lib64/firefox/firefox -contentproc -parentBuildID 20240212204114 -prefsLen 20838 -prefMapSize 237721 -appDir /usr/lib64/firefox/browser {d64a42b9-8529-4e14-b315-a95b1039c9ab} 13698 true socket sdc 14714 13698 0 13:11 ? 00:00:00 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 21149 -prefMapSize 237721 -safeMode -parentBuildID 20240212204114 -appDir /usr/lib64/firefox/browser {bff45aa8-c1fc-4770-99dc-54c073ac77eb} 13698 true tab sdc 15457 13698 0 13:11 ? 00:00:00 /usr/lib64/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 21522 -prefMapSize 237721 -safeMode -parentBuildID 20240212204114 -appDir /usr/lib64/firefox/browser {5cb16ada-1d36-4168-b14f-7e33c2523b39} 13698 true tab sdc 15505 13698 0 13:11 ? 00:00:00 /usr/lib64/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 21522 -prefMapSize 237721 -safeMode -parentBuildID 20240212204114 -appDir /usr/lib64/firefox/browser {3be32212-2f3a-43d7-9d0a-50dcab2f2b18} 13698 true tab sdc 15574 13698 0 13:11 ? 00:00:00 /usr/lib64/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 21522 -prefMapSize 237721 -safeMode -parentBuildID 20240212204114 -appDir /usr/lib64/firefox/browser {4435b985-a155-46e0-bc07-b45425b4ebe0} 13698 true tab BLRMR238 home/insite# ps -ef | grep "firefox" sdc 8362 2068 2 14:17 ? 00:00:13 [firefox] <defunct> root 11795 11109 0 14:25 pts/1 00:00:00 grep firefox sdc 13698 2068 0 13:11 ? 00:00:02 /usr/lib64/firefox/firefox -P iLinq -safe-mode /opt/gehc/mr_iLinq_data/root/UI/i18nFiles/iLinq_index_en_US.html sdc 14462 13698 0 13:11 ? 00:00:00 /usr/lib64/firefox/firefox -contentproc -parentBuildID 20240212204114 -prefsLen 20838 -prefMapSize 237721 -appDir /usr/lib64/firefox/browser {d64a42b9-8529-4e14-b315-a95b1039c9ab} 13698 true socket sdc 14714 13698 0 13:11 ? 00:00:00 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 21149 -prefMapSize 237721 -safeMode -parentBuildID 20240212204114 -appDir /usr/lib64/firefox/browser {bff45aa8-c1fc-4770-99dc-54c073ac77eb} 13698 true tab sdc 15457 13698 0 13:11 ? 00:00:00 /usr/lib64/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 21522 -prefMapSize 237721 -safeMode -parentBuildID 20240212204114 -appDir /usr/lib64/firefox/browser {5cb16ada-1d36-4168-b14f-7e33c2523b39} 13698 true tab sdc 15505 13698 0 13:11 ? 00:00:00 /usr/lib64/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 21522 -prefMapSize 237721 -safeMode -parentBuildID 20240212204114 -appDir /usr/lib64/firefox/browser {3be32212-2f3a-43d7-9d0a-50dcab2f2b18} 13698 true tab sdc 15574 13698 0 13:11 ? 00:00:00 /usr/lib64/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 21522 -prefMapSize 237721 -safeMode -parentBuildID 20240212204114 -appDir /usr/lib64/firefox/browser {4435b985-a155-46e0-bc07-b45425b4ebe0} 13698 true tab

도움이 되셨습니까?

more options

while creating the firefox profile automaticaly addeding .lock file . please help how avoid added .lock files

도움이 되셨습니까?

질문하기

글에 답글을 달기 위해서는 계정으로 로그인해야만 합니다. 계정이 아직 없다면 새로운 질문을 올려주세요.