Prevent close window with Tabs present hack?

I can't seem to find the reference but I came across in the last month or so, a hack/mod/script that prompted a dialogue box to pop up if you ask Safari to close a window while there are other tabs present. Does anyone know of this too? I'm hoping it will work as well when you accidently hit Command Q when you are meaning to hit Command W. (I lost the dozen or more pages of interest out of a recent 50-80, after hours of research) I guess another option would kill the Command Q stroke in Safari, but I'm not sure if it is a global thing or not.
I'll of course make the suggestion to Apple, but in the mean time any ideas?

Hi John,
Have a search for Taboo at macupdate.com. That will give you a warning when you try to close a window with several tabs on it.
For command-Q remapping, have a read of this:
iBod, "changing the default shortcuts ?" #2, 12:24pm Sep 30, 2005 CDT

Similar Messages

  • When i close window with multiple tabs angd start new session (open new window) old tabs open again, how can i stop it?

    when i close window with multiple tabs and start new session (open new window) old tabs open again, how can i stop it?

    It is possible that there is a problem with the files [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    Delete [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.
    Deleting sessionstore.js will cause App Tabs and Tab Groups to get lost, so you will have to create them again (make a note).
    See:
    * http://kb.mozillazine.org/Session_Restore

  • How to "open all in tabs" bookmarks including links in second level folders (maybe each in new window with tabs) It opens only first level links... thanks

    I mean, if I go to the main menu, bookmarks->some folder (this "some folder" includes a 5 bookmarks and "some folder 1", "some folder 2" each with own bookmarks), click "open all in tabs", then it opens only 5 bookmarks, but I want it to open bookmarks from "some folder 1", "some folder 2" too at the same time! (maybe in new windows with tabs for each "some folder 1", "some folder 2") doesn't matter.
    Is there a way to do this? Maybe addons? extensions? Maybe you could add this in future versions...
    THanks. It would be great for me and my friends. (they also asked about this)
    Sergey Knyazyuk

    Try with Firefox Addons
    *addons.mozilla.org

  • W/zoteroinstalledwedo a window,open() followed by a window.close() in tha window. Zotero remains and the window is still open. How do I close the window with zotero present in FF w/o disabling zotero?

    the js function to window.open() is in pageAA on a tab.
    We click the form or link to open the popup to run a video.
    We have a close button on the popup window.
    When that is clicked the window.close() js is executed on that page leaving Zotero present and the popup still open.
    We've tried using close() window.close() name.window.close() and
    all fail the same way.
    Short of disabling Zotero is there a way to close the popup in FF and any other addons with one shot?

    Thank's but still no fix.
    In safe mode everything works.
    Without Zotero - everything works.
    When the popup is loaded with Zotero, the tab shows a constant "Loading" with the circular in process icon.
    The Zotero icon shows to the left of the tab.
    If I right click on Zotero and close it, the close() js works properly
    Is there a way to do a window.open() with:
    A. no tabs -or-
    B. block all add on's -or-
    C. to kill an add on
    before doing the close()?

  • How do i change the setting so that when i close windows with multiple tabs, they will ask questions ' save pages' or 'quit' or 'cancel'.

    I really need help with this cause when im using firefox 3.6 , usually when i want to close the window , they will ask me whether i want to save the tabs or close or cancel.. but im having difficulties with firefox4.
    and now i need to type again the last tab page which i went to.its kinda troublesome.
    really need help for this.

    Firefox now always stores the old session, and you can access it by going to the History menu and selecting "Restore Previous Session"
    If you want Firefox to display the message to save the session, it can be turned back on by changing some preferences.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''browser.tabs.warnOnClose''', if its value is set to '''false''', double-click on it to change its value to '''true'''
    # Repeat this for these 3 preferences '''browser.warnOnQuit''', '''browser.warnOnRestart''' and '''browser.showQuitWarning'''
    If you always open the last set of tabs, an alternative approach is this:
    # Click the orange Firefox button, then select options to open the options window
    # Go to the General panel
    # Change the setting "When Firefox starts" to "Show my windows and tabs from last time"

  • Adobe photoshop cc 2014 won't close window with unsaved file

    Recently installed update to Photoshop via creative cloud. Photoshop works great but for some reason I am unable to close a window with an unsaved project. Pressing command-w or going to file close doesn't do anything. As soon as I save the file I can close the window or quit photoshop. Is this in the preferences? Please advice.
    thanks

    I'm having this same issue.  Can't close an unsaved file that has been opened, even if it is completely unedited.  When an unsaved file is present, I can't quit Photoshop, either.
    I'm on OSX 10.7.5  (yes, I know...it's aged), Photoshop CC.  Plenty of memory and disk space, so that's not the issue.
    Any ideas?  Thanks!

  • Close Window (with O/P) out of IFrame

    Hi experts,
    I did create a new component (with bsp_wd_cmpwb) and therein a window.
    In this window I call an IFrame which is another BSP-Application.
    Now I would like to close this window out of the iframe.
    I did already create an O/P to close the window, but I don't know how to start the method in IFrame to do this.
    Just at opening the window SET_VIEW_GROUP_CONTEXT and DO_FINISH_INPUT are run-through.
    If I can force a run to this methods out of the IFrame it would be also ok for me, because therein I can fire the O/P.
    The closing with the O/P works fine, but I need to trigger/force it.
    First I tried to close it with the following jscript, but it doesn't work in firefox.
    <SCRIPT LANGUAGE="JavaScript">
        function closeAndRefresh(){
          opener.location.reload(); // or opener.location.href = opener.location.href;
          window.close();
        javascript:window.close();
              </script>
    Thank you for every help.
    Kind regards

    Does nobody have an idea regarding this?

  • Finder opens a new window with tabs in the last closed window loaded automatically

    As the title says, I've found this happens more than a few times for some change. Maybe every time, I didn't count. Say, I closed a window with 3 tabs opened, then next time when I click finder to open a new window, I will find the 3 tabs loaded in the new window automatically. I am wondering if it is a new feature or bug. If it is not right, would anyone give me some suggestion to correct, if possible? Thanks.

    Yup. I think bring convenience or not is supposed to be the fundamental difference bugs and features.
    Convenience also comes with users' habit. I am sure I will get used to the new way as time goes by.

  • Firefox opens window with tabs leading to garbled links

    Almost every time I go to a site, firefox opens a new window with numerous tabs trying to access garbled links. The first tab looks like this: http://i56.tinypic.com/2nkuo9k.jpg.
    Anti-virus programs found nothing, and re-installing firefox didn't fix it.

    Do a malware check with some malware scanning programs.<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
    See also:
    *http://kb.mozillazine.org/Resetting_preferences

  • I can't get the full window with tabs, or other controls. I have to use control-alt-delete to close the window.

    After loading on a link to KnightNews, all of the header stuff disappeared - Firefox box, minimize button, delete button, and the only way to get out of the KnightNews was control-alt-delete. I now find that any time i use Firefox, I have the same problem. I have deleted the program, reinstalled it, done a system restore, all to no avail. When I click on Firefox to open it, the full window appears briefly, then the whole screen is filled with the opening Firefox page. Clicking on a program in the history box brings it up, but it's the same scenario - control-alt-delete is the only way to get out. I also was not able to open the Troubleshooting Information which was listed below on this page.

    '''Try the Firefox SafeMode''' to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#w_safe-mode-window_2 Troubleshoot Firefox issues using Firefox SafeMode]
    * You can open the Firefox 15.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes <br />
    Or it might be caused by Hardware Acceleration.
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • Inkove method after close window with unload

    Hi guys,
    I'm trying create a way the invoke a method in a BackingBean after close the window of browser for this I'm using the event unload of 'af:document'.
    I used the Frank's sample ( http://blogs.oracle.com/jdevotnharvest/entry/responding_to_the_page_unload_in_a_managed_bean ) but it doesn't work.
    Can anybody help me?
    I'm using JDeveloper 11.1.2.0.0
    This a part of my code :
    Page
    <f:view afterPhase="#{backingBeanScope.backing_mainPage.afterPhase}"
              beforePhase="#{backingBeanScope.backing_mainPage.beforePhase}">
        <af:document id="d1"
                binding="#{backingBeanScope.backing_mainPage.d1}"
                title="CTBC - Algar Telecom"
                smallIconSource="imgs/favicon.png imgs/favicon.ico"
                onunload="performUnloadEvent"
                clientComponent="true">
        <af:resource type="javascript">
                window.addEventListener('beforeunload', function (){performUnloadEvent()},false);
                function performUnloadEvent(){
                  var eventSource = AdfPage.PAGE.findComponentByAbsoluteId('d1');
                  var x = AdfCustomEvent.queue(eventSource,
                                               "handleOnUnload", {}, true);
                  var y = 0;
        </af:resource>
        <af:serverListener type="handleOnUnload" method="#{sessaoLogoff.onUnloadHandler}"/>
          <af:form id="f1" binding="#{backingBeanScope.backing_mainPage.f1}">
    .ManageBean
    public class ControlaLogoff {
        public void onUnloadHandler(ClientEvent clientEvent) {
            System.out.println("good bye");
    }Regards,
    Renan

    I just tested the code Frank provided (as is) and it worked for me. the only thing to mention is when I closed browser completely the bean isn't called. If I close the tab running the page all works as expected.
    I strong feeling is that you simply can't catch the event if someone closes the browser (or use task kill). So if that is what you need you are out of luck.
    Again, the other case works for me. So if it's not working for you I guess there is some kind of coding error in your app.
    Timo

  • Netscape crash when close window with applet

    I am using JDK1.1 and swingall for load JApplets in Netscape without plugin. Sometimes when I close the window where the applet is, netscape crashes.
    I read that could be a problem of memory when the destroy method is called. Can be other reasons, and if it is a problem of memory how can I avoid it ?
    Thanks,

    Try using Netscape v6.0. Earlier versions have already reported having problems with Java Applets. Hope this would help.
    Ashish

  • Integrate a close button with tabbed pane?

    I like FireFox and I like using parts of its design concepts. How do I put a close button on the right corner of a tab using swing? Maybe I need a "cross" image? Maybe I just put an "X" character there?
    I tried tabProcessToBeClosed.close() or tabProcessToBeClosed.exit(), but it does not close the tab. Is there any other ways?

    I found the following to be extremely useful for constructing a tabbed pane with or without a close button.
    [http://weblogs.java.net/blog/alexfromsun/archive/2005/11/tabcomponents_i_1.html|http://weblogs.java.net/blog/alexfromsun/archive/2005/11/tabcomponents_i_1.html]

  • Close window with a keystroke?

    Is it possible to close out a window using a keyboard shortcut? also for that matter is there a list of keyboard shortcuts for Leopard?

    Gothboy wrote:
    Is it possible to close out a window using a keyboard shortcut?
    how about _*Keyboard Maestro*_ ?
    also for that matter is there a list of keyboard shortcuts for Leopard?
    click here for information.
    JGG

  • Switching accounts in email composition window with tab key?

    I recently switched from an iMac G5 to an Intel iMac. In the previous version of Mail, I was able to to switch between accounts when composing an email by tabbing to the "Accounts" field and using my up or down arrow keys. Now that I've switched to the Intel iMac, I've noticed that the tab key will move the cursor from the subject line, immediately down to the composition field, skipping the Accounts field completely. Is there some setting I've missed, or do I possibly have a corrupt version of Mail?

    Ok, I don't have an Intel Mac, but I don't think that is the issue. Open Keyboard and Mouse System Preferences and choose the keyboard tab. Select the Keyboard Shortcuts tab and select the option to Tab between all controls. Now you should be able to tab to the accounts pane. I think you may have had this set in the previous version, but it is now off.
    jim

Maybe you are looking for