Pop up that appears on domain exit only.

I would like for a pop up to appear on closing the "x" on the
top right of a browser window,
What this means is, I want a pop up to appear when a user is
trying to leave my website. Example: give them a special offer.
I do not want this message to appear when they leave to
visit/surf other areas of my website.
Please help!

quote:
Originally posted by:
Ramona _
I would like for a pop up to appear on closing the "x" on the
top right of a browser window,
What this means is, I want a pop up to appear when a user is
trying to leave my website. Example: give them a special offer.
I do not want this message to appear when they leave to
visit/surf other areas of my website.
Please help!
You could try this:
1. Create the HTML page popup page the way you want. lets
call it popup.html
Now if i understand correctly, you want to go to this
popup.html you just created if the user wants to close the main
page right?
2. This goes in the main page:
<body onunload="javascript:logout()">
The function
logout() looks something like this:
function logout ()
window.open("popup.html");
I hope that helps you.
But if my pop up blocker is running this code wont work
anyway.

Similar Messages

  • How do you edit the template image that appears at the top only in portrait mode?

    I am using a customized version of the iBooks Author template which has the space image. I have replaced the images for the book cover, chapter and section. But I noticed that when you rotate the ipad to view the entire TOC, the original space image is still there. How can I edit the template image that appears at the top of the Table of Contents only when you rotate the ipad in portrait view?

    I just tried w/that template - switched to Portrait mode...tapped once to select that image....cut - gone. Switched to Landscape...not there. Back to portrait...still gone.
    What process did you use?
    Can you repeat your issue with a fresh book?

  • Downloaded 4 in a save file and cannot move to applications folder mac xb/c that appeared to be my only option and cannot move from download to application

    '''bold text
    downloaded 4 to save file b/c that appeared to be only option and then could not moved from download to application. Already have icon on dashboard for older version

    If you have problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.
    * https://support.mozilla.com/kb/Installing+Firefox+on+Mac
    * http://kb.mozillazine.org/Installing_Firefox#Mac_OS_X

  • How do i eliminate the pop up that appears acroos the top of the toolbar at bottom of screen. it extends all the way across screen

    the pop up does not appear all the time but sporatically. i am using firefox 3.6 and windows 7

    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • How do I get rid of Pop-Up that appeared on my opening screen?

    There is a box on my opening screen which reads: Opening <filename>.exe. You have chosen to open <filename>.exe whic is a binary file http://aihdownload.adobe.com. Would you like to save this file? Within the Pop-up box there is 2 boxes -- save -- cancel. I cannot save nor cancel. I have contacted Adobe and they said it is because I am using Firefox. Can you please get rid of this Pop-Up?

    The problem that I described above is on my desk-top screen, not on my Firefox opening screen. I will repeat problem again. Title of box: Opening <filename>.exe.
    You have chosen to open <filename>,exe which is a binary file from http://aihdownload.adobe.com. Would you like to save this file? Save File -- Cancel File. I can do neither. Is there a way I can fix this?
    I did not try to open this file. It just popped up on Desk-top Screen.

  • How do I stop the irritating pop-up that appears on screen saying "there is no disk in drive E:" please inset disk etc.

    The above message pops up on screen every time I launch Elements

    davidw
    What version Premiere Elements and on what computer operating system?
    From the mention of the issue, I suspect you are working with Premiere Elements 13/13.1.
    Assuming Windows 7, 8, or 8.1 64 bit.
    If so, delete or disable the OldFilm.AEX file.
    Local Disk C
    Program Files
    Adobe
    Adobe Premiere Elements 13
    Plug-ins
    Common
    NewBlue
    and in the NewBlue Folder is the OldFilm.AEX file that you delete or disable by renaming OldFilm.AEX to OldFilm.AEXOLD.
    Please let us know if that worked for you.
    Thank you.
    ATR

  • How do you turn off the mail preview pop ups, that appear when you open mail since downloading iOS 7?

    Since downloading iOS 7, whenever I open the mail app, I am getting pop up previews of all the unread mail that I have asking me if I wish to either dismiss, or read the message. When I have quite a few emails, this can be an annoying, & time consuming task, which is totally unnecessary, as because I am opening the mail app, of course I am going to read or dismiss the emails.

    Since downloading iOS 7, whenever I open the mail app, I am getting pop up previews of all the unread mail that I have asking me if I wish to either dismiss, or read the message. When I have quite a few emails, this can be an annoying, & time consuming task, which is totally unnecessary, as because I am opening the mail app, of course I am going to read or dismiss the emails.

  • My Foxfire keeps freezing during use, and there are pop-ups that appear during each selection of an application

    What more do you need. Foxfire keeps freezing on my computer and it is sending pop-ups when any application is triggered.

    It sounds like you are having problems with pop-ups. Most are adds
    but a few give you false information claiming something is
    out of date, software needs to be installed, blaaa blaa, blaaa. Go to the
    '''''[https://addons.mozilla.org/en-US/firefox/ Mozilla Add-ons Web Page]'''''
    and find a good add / popup blocker.
    Let us know how things work out. '''''BTW''''', there is an update for Firefox.

  • Make pop-up appear as the topic only (i.e, w/o the screen layout)

    Hello All,
    I'd like to use pop-ups in my current project but I'd like for the pop-ups to appear as the topic only without the corresponding screen layout (side bar, contents, index, glossary, etc.).  I'm generating in Multiscreen_HTML5. When I preview my pages in a browser (CTRL+W) the pop-ups look just fine but when I Save/Generate, the screen layout is, as you would expect,  applied to the entire project (including the pop-ups). I am currently setting the pop-ups to auto size.
    If there were some way to exclude a topic from the screen layout then I could create separate topics for the pop-ups.
    thank you,
    -d

    Figured it out.
    I needed to deselect Convert auto-sizing and custom-sized popups to hyperlinks (Multiscreen_HTML5 Settings, Screen Profiles, Desktop, Optimization). Now the pop-ups appear as I had envisioned (auto sized without the screen layout).

  • How can I get Facebook game pop-ups to appear without having to downgrade Firefox as I need version 6 for work?

    When I try to send back a gift in a Facebook game, there should be a pop-up that appears to allow me to do this. However in the newest version of Firefox, I can not get these pop-ups to appear and I have to have version 6 to be able to work from home. So how do I fix this?

    This might be because your settings are configured to block pop-ups. To fix this:
    1. Go to: Firefox > Options > Content
    2. Untick the 'Block popup windows' option
    3. Click 'OK'
    '''If this was the answer you were looking for, please click 'Solved' -- Thanks.'''

  • Adding a Generic Email Address (Domain Name Only) to Address Book

    Is it possible to set up a generic email address (like @google.com) in Apple address book?
    I ask this because I have created a set of rules in Apple Mail to help filter out spam mail, and in my spam rules I check to see if the sender's email address is in my address book, in which case, I assume the incoming email is not spam.
    Now, when it comes to companies and organizations that I have dealings with, what I would like to do is add a generic email address to my Apple address book, that covers the whole company.
    By generic email address, I mean an address that comprises the domain name only: for example: if [email protected] is a specific email address, then the corresponding generic email address is @google.com.
    This is so that if I receive an email from another department or another individual in the same company, such as from [email protected] or [email protected] say, then these emails will also be considered to be in my address book, and thus get through my spam mail rules as well.

    Hello there, Kate.
    Apologies for your frustration. For your security the existing questions need to be answered before new ones can be created. The following Knowledge Base article provides some additional steps to try if you are unsure of the answers to the existing ones:
    Apple ID: All about Apple ID security questions
    http://support.apple.com/kb/HT5665
    Specifically:
    What should I do if I don't remember the answers to my Apple ID security questions?
    Try answering them at least once to see if you can get them right, even if you are not sure you remember the answers to your security questions.
    If you are confident you can't remember them, try one of the following:
    If you have three security questions and a rescue email address
    sign in to My Apple ID and select the Password and Security tab to send an email to your rescue email address to reset your security questions and answers. 
    If you have one security question and you know your Apple ID passwordsign in to My Apple ID and select the Password and Security tab to reset your security question.
    If you have one security question, but don't remember your Apple ID password
    contact Apple Support for assistance. Learn more about creating a temporary support PIN to help Apple confirm your identity when you contact Apple Support.
    Note: If you have forgotten your password and answer your security questions incorrectly too many times in a row, you will be unable to try to answer your security questions for a period of time. During that time you will not be able to reset your password and will not have access to your account.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • When I play games in Mozilla on fb..some setting changed and now the pop up window that appears to send gifts to my friends only lists 3 ppl at a time some games i have a scroll down button others i dont..can u help m fix this please?

    When I play games in Mozilla on fb..some setting changed and now the pop up window that appears to send gifts to my friends only lists 3 ppl at a time some games i have a scroll down button others i dont..can u help m fix this please?

    Hi Winnie
    Unfortunately I have been sick and did not read the message before. I apologize.
    I have not received help beyond what is on the page. But when I get I tell you.
    I hope you can get answers. If you receive, I ask that you share with me.
    thank you very much
    best regards
    AC
    Date: Mon, 27 Feb 2012 09:33:10 -0700
    From: [email protected]
    To: [email protected]
    Subject: Pop up Window before saving remembering the need (forcing) to fill required fields in a form
        Re: Pop up Window before saving remembering the need (forcing) to fill required fields in a form
        created by Win_Form in Forms - View the full discussion
    Hi ACI wonder if you can share any responses on to your question above?I too have never used a script but, I have the same problems as you in regards to building a form. And wants to have the same 'protection' and message reminders for the end users. Any information, including a script and/or a contact email of experts you can share with me will help tremendously. Thank you so much in advance. Winnie
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4232307#4232307
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4232307#4232307. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Forms by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How do you create the 'cream pop-up info text boxes' that appear when you hover mouse over?

    Hi people,
    I really need to know how you create the 'cream pop-up info text boxes' that appear when you hover your mouse over an object on a webpage (and often in any program e.g. Photoshop) for more than a second. I need to know because the logo on my website is the navigation tool used to return to the homepage. It is always found in the top left so the user can always click it to return.
    The only problem is im the only one who knows that when you click my logo, you return to the homepage. I need one of these 'cream info boxes' (forgive my lack of knowledge) to appear so the user will figure it out.
    Thanks for taking the time to read my question...

    Using your code it should look like this where title attribute is in red:
    <div id="apDiv2"><a href="index.html"><img src="divs_dw/jtgd_logo_trans.png" alt="jtgd_logo" title="your description goes here" width="176" height="163" /></a></div>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • When trying to download a program I am not given the option to run the program only to save or cancel. a pop up screen appears the download is loaded and I have to double click on it to actually download it into my computer. Is this normal

    I switched from using IE and when downloading programs through there a windows always popped up asking to run save or cancel the file. With Firefox it only gives me the option to save or cancel and when pressing save a pop up window appears and the file is then downloaded to that. Then I have to go to it and double click to run it. I do not always want to save everything only run some things. Is there a way to change this. it seems like I am double downloading, first to the pop up window then into my computer instead of straight into my computer. is there a faster better way to download. This also eats up my download allowance from my internet satellite company this way.

    When you '''Save''' a download to your hard drive, your Anti-virus/Asnti-spyware application has an opportunity to examine the file before it is installed on your system.
    When you '''Run''' a download you could be installing an item containing a virus or spyware to your system <u>before</u> your AV/AS application has an opportunity to examine the file(s).
    If you are willing to accept the risks associated with '''Run''', see the following extensions ('''<u>NOTE: neither has been reviewed by the Mozilla Add-ons group</u>'''):
    *https://addons.mozilla.org/en-US/firefox/addon/10329/
    *https://addons.mozilla.org/en-US/firefox/addon/10902/
    <br />
    You have an item installed that is considered malware/spyware/adware. To see the Plugins reported with your question, click "More system details..." to the right of your original question or, on the Firefox menu, click Tools > Add-ons > Plugins.
    *My Web Search Plugin Stub for 32-bit Windows
    This type of pest is usually installed along with software you download from the internet; generally free programs, but not always. Carefully watch for "extra" items that will be installed and un-check or opt-out of them.
    #You can check to see if you have any of these from [http://www.google.com/search?q=%22Fun+Web+Products%22&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:es-ES:official&client=firefox-a|"Fun Web Products"] installed:
    #*Control Panel > Add or Remove Programs, click on any that you find and click "Remove": Ask.com Bar, My Search Bar, MyWay Speed Bar, My Web Search Bar, Fun Web Products Easy Installer
    #*See:
    #**http://www.safer-networking.com/removemywebsearch.php
    #**[http://www.pchell.com/support/mywebsearch.shtml PC Hell: My Web Search Removal Instructions]
    #**http://helpint.mywebsearch.com/intlinfo/help/toolhelp.jhtml#q3
    #Also see: http://kb.mozillazine.org/Uninstalling_toolbars
    #'''<u>You '''MAY''' need to change a preference</u>''' if when typing one or two words in the URL/Location/Address Bar sends you to some search page other than the one you expect. To reset your default URL/location bar search provider:
    #*Enter '''about:config''' in the address/URL bar and press the Enter key
    #*If you see a warning, accept it (Promise that you will be careful)
    #*Filter = keyword.URL
    #*Below the Filter, if keyword.URL is '''bold''', right-click on keyword.URL and choose "Reset"
    #*Restart Firefox (File > Restart Firefox)
    #*See: http://kb.mozillazine.org/Keyword.url
    #'''<u>You '''MAY''' need to reset your homepage</u>''' if some search page that you do not want or expect opens when you start Firefox. Firefox can open multiple home pages. Home pages are separated by the "|" symbol.
    #*See: http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
    <br />
    '''Other issues that need your attention'''
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post. You can also see your plugins from the Firefox menu, Tools > Add-ons > Plugins.
    *Next Generation Java Plug-in 1.6.0_22 for Mozilla browsers
    **Per Oracle/Sun, Java version 1.6.0_23 is mainly a stability improvement update
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • Why does the pop up window for a printable coupon only appears briefly (in the upper left corner) and then disappear, even after putting the web site into the Tools,Options,Content,Pop-Up Exceptions?

    I am at http://www.closys.com/samples_&_coupons/get_a_coupon.html and the pop up window for a printable coupon only appears briefly (in the upper left corner) and then disappears, even after putting the web site into the Tools,Options,Content,Pop-Up Exceptions. What gives and how can it be fixed. I have a time limit.
    Thanks for your solution.
    Dan

    Mha007:
    Sorry, but I have already tried this too and verified that the web addresses are listed as Allow, rather than Block. After restart there was no difference, I still get the disappearing pop-up windows.
    Thanks for offering suggestions though.
    Have you heard of any issues like this occurring based on the number of tabs that are open in Firefox?
    Just a thought, even though I have not heard of this as an issue before. I keep about 80 tabs open regularly, because of research that I am always conducting (I am a blogger, a writer/author, a technophile-especially Green Tech.,), email, work, etc.?
    I do have a check in the box for Firefox to let me know if the number of open tabs is causing slow down or other issues.
    Thanks for any help.

Maybe you are looking for