![]() Is there any way to make window.close() work for "windows that were not opened by script using javascript" on Firefox?.Is there any setting to suppress "Scripts may not close windows that were not opened by script" warning on Firefox? An "Allow scripts to close windows that were not opened by script" setting would be great (:.Is there any way for hiding addressbar, menubar without using window.open() (at least for Firefox)? Then I will not need to run window.close().Since my goal is to run the application in a window without menubar, addressbar etc. It seems that using window.open() with _self parameter trick does not work for Firefox. ![]() By the way my application window is opened without any issues (no problem about that). On Firefox it opens the AutoClose.html but window.close() call in this page just causes the "Scripts may not close windows that were not opened by script" warning and window is not closed. My application should support IE, Firefox and Chrome and my code works fine on IE and Chrome but it is unable to close the first window on Firefox because of "Scripts may not close windows that were not opened by script" warning. Window.open('Application.html', null, 'status:no dialogHide:true help:no scroll:yes center=yes ') I have a Default.html page and in this page I click a "Run Application" button which first opens my application in another window using window.open and then closes the current window by opening "AutoClose.html" using window.open with _self parameter I want my web application to run in a window which has no menubar, addressbar etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |