Remove warning popup message using js to close a window

How can I remove the pop-up "warning" message when I invoke js 'self. "Close" to close a window?

I didn't pop - up for many years - but basically, you can't close a window if the window has not been opened by script (you can close on IE, but with the security warning.) This is why you may be able to "trick" the browser by opening and closing at the same time: http://blog.clauskonrad.net/2010/01/how-to-close-browser-window-without.html

Not sure if this old hack working for current browsers.

--

Kenneth Kawamoto

Tags: Dreamweaver

Similar Questions

  • Control warning Popup Message is empty

    Hello

    I use alert control to display a popup message. For some reason any message is empty and the OK button label is also empty. Popup is launched

    with a white button. If you click the button, then it disappears as it should. Any suggestions?

    Thanks in advance!

    If you use Flex 4.1 and Flex 3 compatibility mode, pop-up windows may lose

    text except if you set layoutDirection = "ltr" on the global CSS selector.

  • Why do I need special software to remove CC instead of use only the features and windows programs?

    Why do I need to uninstall special programs to uninstall my apps CC or CC itself? Not just one, but two (!) of the separate facilities.

    What does Adobe on my PC that it can not be uninstalled via the path General windows programs management?

    I'd be smart and just reformat my drive after that I have served my machine with fire CC?

    Hello

    We have created the uninstall program so that all files/folders associated with the application are deleted successfully as well.

    Kind regards

    Sheena

  • Attempt to remove e-mail Messages in Windows 7 Live Mail. Used to work but now get "an unknown error has occurred."

    Attempt to remove e-mail Messages in Windows 7 Live Mail.  Used to work but now get "an unknown error has occurred."

    Administrative events Viewer.

    wlmail (5472) WindowsLiveMail0: page of data read from the file "C:\Users\MyName\AppData\Local\Microsoft\Windows Live Mail\Mail.MSMessageStore" at offset 269484032 (0 x 0000000010100000) (page 32895 (0x807F) the database) to 8192 bytes (0 x 00002000) failed verification because it contains no page data. The read operation will fail with Error - 1019 (0xfffffc05). If this condition persists then please restore it from a previous backup. This problem is probably due to a defective material. For further assistance diagnosing the problem, contact your hardware vendor.

    Hello

    Because the problem is with Windows Live Mail, I suggest you to post your query on the Windows Live community forums to get help.
    http://www.windowslivehelp.com/product.aspx?ProductID=15

    Kind regards
    Afzal Taher
    Microsoft technical support engineer

  • Popup: Message from Web page, your computer is in danger of malware attack... _

    Popup: Message of the webpage your computer is in danger of malware attack...

    I would like to know the name of this diversion, so I can see if it is listed in the malicious software removal tool.

    DO NOT CLICK ANYTHING!
    This is a very common scam that says that your computer is infected with malware
    If you click on anything it will infect you with red antivirus
    to stop it press Ctrl + SHIFT + ESC to start Task Manager. Then, go to the processes tab and finish something named iexplore.exe or firefox.exe.
    This will force all internet browsers close then open them again and do not restore your browsing session

  • Can I remove internet explore and use chrome instead?

    Can I remove internet explore and use chrome instead? That is, crashes, to stop, resarts and slows my computor. I installed Google Chrome and have had no more problems. It opens and closes when I want it and going to the Web pages as I type in without hesitation. I like windows 7, I only have a problem with Internet Explore. It also caused changes in my modem. I need to uninstall the software and reinstall to get it working again. IO would open that is and get a message that says "no internet access - check your settings, I thought it was a virus at some point. As soon as I started using Chrome, everything worked again. That is also caused problems with my printer and home network. I don't mind that is being stored in a file, I don't want to work and make changes to my computer I'm not an it expert by any means. I restored my pc to an earlier time and new conditions of factory several times in the past year (I bought the HP pc new in December 2010).

    It is not really a way to remove Internet Explorer.  I have not heard of the type of problems, you had with IE, but if you prefer Chrome and who works for you, all you need to do is to make Chrome the default browser.  I use Firefox and make it my default browser.  Once you make Chrome default you just leave Internet Explorer installed but it won't get used.  Following comes the site help Chrome and tells how to do it by default: http://support.google.com/chrome/bin/answer.py?hl=en&answer=95417

  • Skillbuilders modal page - message of success without close in Internet Explorer

    Hello

    I use Skillbuilders modal plugin on Apex 4.1 page.
    The plugin works fine in all browsers except in IE, where I am unable to close the success message by clicking on the 'x' in the upper right.
    I'll explain later.

    I have a report on, say, page 10, and I am to edit each line in a modal page (page 11). When saving the changes, closes the modal page and a success message appears on page 10. I see the message in Firefox and IE, however, I am unable to close it in Internet Explorer.

    When I inspect the success message using Firebug in Firefox, I see that I have:
    <div id="messages" style="display: block;">
    <div id="success-message" class="success">
    <img class="remove-message" onclick="$x_Remove('success-message');" alt="" style="float:right;" src="/i/delete.gif">
    Action processed.
    </div>
    </div>
    However, when I inspect the message of success in IE, I see:
    <div id="messages">
    </div>
    The success message is displayed on the page, but it does not appear in the source code of the page and clicking on the 'x' is not shut it down.


    I have tried with several themes, the problem persists.

    Does anyone have an idea what could be the problem here?
    Someone had a similar problem?

    Thank you!

    I've been watching, kind of empty that indeed the semicolon does not say. Didn't know who he was and then took the trouble to test it in the model more as he ate so much time already. Who should teach me...
    Anyway, I was puzzled, too. Apparently, this has to do with IE8 and jQuery, adding code to the document, whether .append or before. The element is just there and everything, but the onclick does nothing. Why it worked after editing it? Probably because that IE was able/willing to pick up the attribute.
    I've tinkered with it again and again, trying to find something, Googling, but couldn't really find a cause or difficulty. Put the anchor? Nope. OnClick reacting only to the second click? Nope. Just do an alert? Nope. Just nothing works at all. I just dropped. IE8 is a headache to try to 'fix' in his manners, you're worse off.

    Ultimately I fixed it another way. My model is different from yours, but the technique is the same.
    I removed the onclick attribute of the region of success message, about the two templates. If it doesn't work I'm not there (good riddance too). I changed the href attribute too by putting just "#", which is probably just me being pedantic. This is my result success message template:

    #SUCCESS_MESSAGE#

    To be able to close it, I added some javascript in the page header:

      
    

    This is much like a dynamic action with a scope "on-line". I didn't want the trouble of having to put an action dynamic on every page and is the reason why I made this way. It works fine in every browser too, then Bravo.

    Your solution works equally well on, that's all. I wouldn't call it a 'solution', because he did not initially anyway. I wouldn't look further and stick to what works best for you. :)

  • Each new browser window has two tabs (one is the sign more) then how we close a window with a single page in without warning multi-onglet?

    Firefox 38 changed the behavior of the tab for me so that each window with two tabs open. The second tab is the 'plus' sign for the creation of new tabs. This means that when the window is closed, the content disappears, but the window to grab and must be closed by hand.

    I tried the "Hide Tab Bar with a tab" extension, but it does nothing. My additional windows are always open with the tab bar (which they don't have in previous versions) and two tabs are there.

    I "warn me if I try to close multiple tabs" together. I don't know if that's the problem. If this is the case, I don't want to give it up because it's useful. When I have several tabs. But a window that has one thing that he really needs to behave like a window that has one thing in it.

    unkilbeeg said

    Firefox 38 changed the behavior of the tab for me so that each window with two tabs open. The second tab is the 'plus' sign for the creation of new tabs. This means that when the window is closed, the content disappears, but the window to grab and must be closed by hand.

    I tried the "Hide Tab Bar with a tab" extension, but it does nothing. My additional windows are always open with the tab bar (which they don't have in previous versions) and two tabs are there.

    I "warn me if I try to close multiple tabs" together. I don't know if that's the problem. If this is the case, I don't want to give it up because it's useful. When I have several tabs. But a window that has one thing that he really needs to behave like a window that has one thing in it.

    I crossed by disabling the extensions, and the extension of ImageTweak seems to have been the culprit. It was apparently works well with the previous version, 38 he screwed up. Well, not an extension is critical.

  • Recently upgraded to El Capitan, I had that problem for Mail stop unexpectedly when I saw some posts.  I followed the steps and was able to remove the trouble messages.   Now I can't restore the mail window message viewer component.

    Recently upgraded to El Capitan, I had that problem for Mail stop unexpectedly when I saw some posts.  I followed the steps and was able to remove the trouble messages.   Now I can't restore the mail window message viewer component.  When I try to catch the separator bar to go back to the left, only half of the small arrow icon and line appears, and it cannot be moved.   Can open the message by double clicking a message viewer.

    Hi there, alicefrompa!

    Thank you for using communities Support from Apple. From your post, I understand that you do not see the Message Viewer box which allows you to read your e-mails; only see you the Inbox that includes a brief overview of the message and are unable to restore access using the separator bars. I have had this happen to my own Mail app and am happy to let you know how I could fix!

    You are really on the right track - you want to roll your mouse over the divider between the Inbox and sections Message Viewer (which should now be on the extreme right edge of your mail window) and drag it to the left.  When you click on the receipt/Message Viewer box, the cursor turns into a line continuous black with a single arrow pointing to the left. When you see the cursor change, click with the left button of the mouse and (while holding down the mouse button in) drag the combination line / arrow to the left. You may need to drag a little further than before to get it. I had to hang mine almost completely in the middle of my Mail app before the display of the message box appeared.

    From there, you should be able to adjust the boxes to your widths you want as expected.

    If you are still not able to get the display of the messages visible after have try this, here are a few more things that you can do.

    1. Press command + O on your keyboard.
    2. Exit the Mail application, and then press on and hold the SHIFT key on your keyboard while reopening.
    3. Restart your Mac by selecting the menu  Apple in the upper right of your screen restart from the menu drop down.

    See you soon!

  • I get a warning about the use of an older version, even after the installation of v24.

    Several sites (including Mozilla) Internet gives me a warning about the use of an older version. I am currently on v24 and when I take the advice to be updated simply re - installed v24 yet again, but the expired message does not disappear!

    Thanks report, deleting the file user.js wasn't the first step - please also resets the user agent parameters as described in https://support.mozilla.org/en-US/kb/websites-say-firefox-outdated-or-incompatible#w_firefox-is-showing-the-wrong-user-agent and restart the browser.

  • How to remove annoying POPUPS ON STARTUP

    HI -.

    After that I have on intel.com attempted to update my graphics driver Mobile Intel (r) 965 Express Chipset Family my startup screen displays a popup with the text box:

    C:\Windows\System32\igfxtray.exe

    I wonder 'Run' or 'Cancel', but no matter what I choose exact same popup appears at startup again and I have to click 3 times Cancel to get the box disappear - it does not seem to affect my use of the laptop but it is a little annoying as his watch.

    On the help forum windows.com I followed suggestions without help unless the suggestion on Regedit open because many have said med does not tinker in Regedit

    I have no successfully posed this question on a forum within intel.com

    Someone at - it there a suggestion what to do?

    Thanks in advance

    DonOlesen

    Hello

    The igfxtray.exe seems belongs to the Intel driver and this file belongs to a software for fast access to the control panel via an icon in system tray of graphs based on Intel processors.
    Usually, you should see a small display Intel icon in the task bar in the lower right.
    The igfxtray.exe controls this.

    So you can also disable this in msconfig.
    Search type msconfig. Then, choose the StarUp tab and choose Remove the mark of the entry containing the igfxtray.exe
    Now save the changes and restart the device

    To disable this popup.

  • Tecra M5 - annoying popup messages when fails the automatic BT connection to headset

    Hello

    I use my Bluetooth from Sony headphones to work with my Tecra M5 laptop lately and there is a boring bunch of message that keeps popping up.

    In the bluetooth settings, I ticked the box "auto login feature will be validated. This causes the headset to connect automatically and it works a treat.

    But, when I bring my laptop home I did more than my helmet with me and about every 5 minutes my laptop keep showing these annoying messages popup at the bottom right of my screen saying the "auto login failed, please ensure that your bluetooth device is turned on etc...". ".

    Sometimes it gives me a prompt in the lower right of the screen asking me if I would like to disable the "automatic login" function for headphones.

    Is it possible to disable these popup messages annoying when my headphones are not detected, without having to turn off the option "auto-connect"? I want to leave the function "automatic login" enabled so when I get back to work and back on my headset again, it will be always connected automatically.

    But when I get home, I wish I could continue to do stuff on my laptop without contstantly being bothered by these electronic popup. If there is some sort of registry setting or something to turn them off, that would be great.

    I downloaded and installed the Blueooth battery & Driver Version 6.40

    See you soon

    Toshiba gave me a beta version of the next Bluetooth stack. There the option you are looking for. Just disable the setting in
    "Bluetooth-> Bluetooth-> Options-> Audio settings-> display a message when the device is connected."
    So just wait until this version is available for download.

  • As I was deleting some files from my hard drive, I came across some files that I couldn't remove with a message saying remove wite protection.

    As I was deleting some files from my hard drive, I came across some files that I couldn't remove with a message saying remove wite protection. Help!

    This error indicates that an application is using this file at this point here. If you are unable to remove it, restart your computer and then try to delete it.

    IF YOU ARE NOT SUCCESSFUL WITH THE above METHOD, THEN TRY to USE UNLOCKER, a free application that disables the application using the file that you want to delete.
    Download unlocker from here-http://www.filehippo.com/download_unlocker/
    Click on the above link and click on download the newer version on the right side of the screen.
    Download UNLOCKER from the link given above and install it. (you may need to restart the computer)
    Right-click on the file you want to delete, and then click unlocker.
    A new window opens showing all applications using this file.
    Select all files, and then click on unblock.
    Now right-click on the file you want to delete, and then click on remove.
    YOUR FILE WILL BE DELETED SUCCESSFULLY.
    If you are still unable to delete that file and unlocker shows no application, then follow these steps-
    Right-click on the file you want to delete and click unlocker.
    A small window will appear.
    In the drop-down list, choose delete, and then click ok.
    Your file will be deleted on the next reboot of the system.
  • After 4 years of use my computer without any problems at all, I get a message saying that my copy of Windows Vista is NOT activated.

    Original title: Vista Activation issue

    After 4 years of use my computer without any problems at all, I get a message saying that my copy of Windows Vista is NOT activated.

    Of course, he was and has been deleted now tile view! I made no changes to anything on the computer, so I did a little research

    and found that it could be a virus trying to get 'paid' for a new activation code. I did a complete reinstall of Vista to remove

    such viruses or errors and it still say my copy of Vista is not activated. When I try to follow the steps to activate Vista,

    I got nowhere! Everything I've read say s do the activation of the phone, but my computer doesn't give me the option of phone!

    It gives me only 3 options - "Buy a new online product key", "Enter a different product key", "Contact Hewllet Packard to help solve this problem."

    I called HP and of course my warranty has expired and they even want to talk to me about $100! I'm going crazy trying to figure this out! Help someone?

    Thanks for the reply, but I tried ALL the links you've posted over and over again until I've already posted my question here! The links you suggested sent me round in circles! They say all "choose the Activate by phone option" but I was not getting the phone option on my computer for some reason any.

    I have corrected the problem and HERE IS HOW - 1-800-Microsoft

    It was as simple as that! Now, if only they post this number somewhere here on the site it might save people hours or days of research! After calling the number, work your way through the automated system until you get a man! The guys at Microsoft that answered the phone was great and had activated me and up and running in minutes!

  • Q10 blackBerry cannot remove e-mail Messages after update

    After installing day put newer operating system I can't delete my email messages by using the del from the keyboard or by using the options on the screen.  Remove screen opens upward, but the delete option is greyed out.  I am able to delete messages using select more and then delete.

    I try to remove the e-mail account, restart the device and then re - integrate the account.

Maybe you are looking for

  • Pairing requires a passcode?

    Night last time Capsule of someone connected to mine and my roommates laptops at the same time (we share wifi router). The message displayed in the image above appeared every hour for several hours until what we have disconnected the router. We have

  • Custom control resize

    I think I know the answer to this already (i.e. no) but wanted to check... Is it possible to create a custom, such control when it is resized any graphics remain the same size? that is something along the lines of the following image Why? I have a fe

  • Resizing tables "dynamically".

    Hello I have a test taken that step of an array of containers. Suppose I have an array passed to me as a sequence of local variable: Locals.NumericalMappings And let's say that I have create an empty array. If I want to create a 1 d table tell the si

  • While I'm a game my moniyor go black but returns again and it keeps it but what is happening just currently

    Ideas: While I'm a game my moniyor go black but returns again and it keeps it but it's just resentlyesently happens. No error messages error message show Recent changes you made to your computer just to allow the recommended for window update What yo

  • The application displays duplicate albums music

    I use the app native music under honeycomb 3.0.1. I noticed that some of my albums are reproduced on the list (but not on the file system, I checked with a file manager). What is strange, is that the first copy of the music and the second copy have t