How to forcibly close tab, no question asked

I was looking for images of various PDAs on Google. One of the images obviously resided on a sketchy site, since I got a popup window saying that a I had a virus (or somesuch) and that I should scan my computer. I encountered a few windows in my tale of woe, so I can't recall whether this first one was an actual Windows window or one of those windows that are part of the webpage. When I tried to close the tab, I got two popups (I think they were real Windows windows). One asked for permission to download and exe file while another said that the web page wanted me to confirm that I actually wanted to navigate away from the page. The latter, I've seen before; the former, well that's obviously malware. However, I wasn't confident about any windows anymore. What if I clicked on the Cancel for downloading the exe, but it was a phony Cancel that actually downloaded the exe? What about the confirmation to navigate away, is there a way for malware designers to fake such a window so that if I confirm, it will actually do something else?
And what if the answers to both were "no" as far as anyone knows at present, but it is theoretically possible for the answer to be "yes" (which means that it will likely happen at some undetermined time in future, given the resourcefulness of people)? Because of this last possibilty, I figure that best possible way to close such a tab is for a browser to allow the user to tyranically close a tab without any questions or confirmations. I don't want to the firefox window because I have other tabs that want to retain. (I'm not even sure it would been allowed to go ahead in the presence of the popup windows). I don't quite recall, but I might have killed the firefox process in the task manager, but if I restart firefox and restore tabs, the bad tab will also be restored.
So is there a way to forcibly close a tab, no questions asked?

Set the Integer pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.
* http://kb.mozillazine.org/browser.sessionstore.max_resumed_crashes
That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.
See:
* http://kb.mozillazine.org/Session_Restore#Restoring_a_session_after_a_crash
* http://kb.mozillazine.org/Browser.sessionstore.max_resumed_crashes
You can add this line to user.js to set that pref.
*http://kb.mozillazine.org/user.js_file
<pre><nowiki>user_pref("browser.sessionstore.max_resumed_crashes", 0);</nowiki></pre>

Similar Messages

  • On a Mac, how do I close tabs or windows where dialogs have popped up trying to download malware and you cannot close them?

    On a Mac, how do I close tabs or windows where dialogs have popped up trying to download malware and you cannot close them? I think it's Ctrl+F4 on a PC. I would like to close just these tabs or windows instead of having to quit the whole firefox program.

    The equivalent of Control+F4 is Command+W, I have not tried it but you may still get the alert boxes when closing a tab using this method.
    The AlertCheck add-on can be used to block the infinite loops such as this - https://addons.mozilla.org/firefox/addon/alertcheck - This functionality is built into Firefox 4.
    An alternative method in Firefox 3.6.* is to temporarily turn off JavaScript. Open the Firefox preferences window, go to the Content panel and de-select the setting "Enable JavaScript" then click OK. You will then be able to close the tab, and can then re-enable JavaScript.

  • How do I close tabs when I am on web

    How do I close tabs when I am on web

    You probably tap the "+" instead of the "X"
    http://i1224.photobucket.com/albums/ee374/Diavonex/Album%207/0752b2c9b46c96453b6 7d05d92d17783.jpg

  • I am showing 9 tabs open and I cannot access other websites (they are grayed out when I clock on them).  How do I close tabs?

    I was working on calendar and opened too many tabs.  I am showing 9 tabs open and it affects other sebsites I am now trying to access.  The webpage is grayed out and non-accessible.  I do not need all the tabs.  How do I close them?

    Try clearing Safari's cache : Settings > Safari > Clear Cache (and Clear History)
    If that doesn't work then try closing Safari completely and then re-open it : from the home screen (i.e. not with Safari 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Safari app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    A third option is a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • In windows 7, firefox 4.0.1, How do you close tabs so they don't open every time I open firefox?

    Can't close tabs so they don't open every time I open Firefox.

    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    See also:
    *http://kb.mozillazine.org/Session_Restore
    *http://kb.mozillazine.org/sessionstore.js
    *http://kb.mozillazine.org/Multiple_profile_files_created

  • How do i close tabs on my android

    It keeps telling me i have to close tabs to open a new one

    You probably found this by now, but tap the numbered icon that looks like a stack of paper to the right of the address bar. This will show the tab thumbnails and you can close unneeded tabs there. More info: [[Using Tabs on Firefox for Android]].

  • How do I close tabs only by clicking a mouse button in Firefox 4?

    In Firefox versions prior to 4.0.1. I used to be able to simply click on one of my middle mouse buttons to close the current tab. This feature no longer works in version 4. Now the mouse button closes all tabs. The only other ways I have found to close current tab is either move the cursor to the X on the tab and click it, or to use the keyboard shortcut ctrl+w. These methods are more cumbersome than simply clicking the middle mouse button from anywhere in the tab. How do I setup this feature in Firefox 4? Thanks.

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    Use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed the maximum file size (1 MB).

  • How do i close tabs, it keeps telling me that i must close a tab to open a new tab.

    Everytime I try to go to a new site, it tells me, I must close a tab to open up a new one

    hello brianhoward, please refer to [https://support.mozilla.org/en-US/kb/using-tabs-firefox-android#w_where-are-my-tabs_2 Using Tabs on Firefox for Android]. thank you!

  • How do I close tabs?

    When I open a tab, there is no way to close it other than to use the arrow to go back through each page. In Help, I see there is an "x" for this which is not shown on my tool bar. Also, when I open more than one tab, the new tab takes the place of the tab already opened, instead of appearing beside it. Per Help, I should be able to use Ctrl W to close a tab, but this closes my screen instead. Thanks.

    Set the pref browser.tabs.closeWindowWithLastTab to false on the about:config page to prevent closing the last tab from closing the browser and make a close button appear if only one tab is open.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • How to add "Close Tab" to firefox's right click context menu?

    william
    Hongkong
    2011-4-19

    the-edmeister,
    thankyou for your message
    i know there are plenty of addons that can handle the job
    i am in fact looking for whether there is a user setting capable of this
    i found two other addons that can do the same thing.
    https://addons.mozilla.org/zh-TW/firefox/addon/rights-to-close/
    https://addons.mozilla.org/zh-TW/firefox/addon/closetab/
    will check out the one you said in your message
    'cause the context menu of my firefox is getting longer and longer !

  • New firefoxis great. i keep many windows open. in ur earlier ver. I used to close it, it would ask for save and shut down as one of the three option,but in this new version it close all my window, how do i save my window tab?

    new firefox is great. I usually have many windows open. in your earlier version, when ever I used to close it, it would ask for save and shut down as one of the three option,but in this new version it close all my window, how do i save my window tab?

    See [[Firefox does not ask to save tabs and windows on exit]].
    Does this work for you?

  • If javascript can no longer be disabled - how do I leave a website that asks the "are you sure you want to leave this site" pop up question without a yes choice

    Given that the turn off javascript option will be disabled - how do I close a page that does not allow me to leave by giving a "are you sure you want to leave" pop up question but then redirects to itself where it again asks that question perpetually?
    The only way to kill a page like that sofar was to disable javascript and then close the tab.
    Now I will have to close the browser - and possibly loose all the tabs I have open.
    I want a javascript quick switch - allowing me to easily disable javascript for any page at will.
    (esp for some of my older, slower netbooks)
    Or at least a "FORCE CLOSE" option for malicious webpages.

    Hi ronc2, there isn't a specific setting for this. Firefox's built-in JavaScript settings allow you to control several aspects of scripts*, but unfortunately not this one.
    I previously tried to find some other options for individually turning off this event, but I couldn't find a way. Someone might be able to create an add-on to solve this problem, but it will take someone cleverer than I.
    Extensions that disable scripts on a site-specific basis:
    * If you regularly visit some sites which do this, you can block JavaScript on that specific site using the YesScript extension. Unfortunately, other script-based functionality will be blocked as well.
    * YesScript does not preemptively block scripts on every site. If you have to visit a lot of random sites and want to take a paranoid approach of having scripting blocked until you see as much of the site as you can see without running scripts, then the NoScript extension would be for you. But even then it's "all or nothing".
    ''* These include: JavaScript enabled yes/no, override right-click menu yes/no, change order of windows yes/no, move and resize windows yes/no, close windows yes/no, specific features of pop-up windows, change images yes/no, detect copy/cut/paste and modify selection yes/no.''

  • I lost the close tab under File, how can i get it back

    if i don't have the close tab under File, i have to exit totally out of firefox which i don't want to do. How can I get the close button back?

    Hi,
    Please try pressing '''Alt''' + '''F''' on the keyboard. This brings out the full '''File''' menu. You can also try to close a tab by pressing the middle button of the mouse when the mouse pointer is over a tab, or clicking on the '''x''' on the right edge of a tab.
    Useful links:
    [https://support.mozilla.com/en-US/kb/Options%20window All about Tools > Options]
    [http://kb.mozillazine.org/About:config Going beyond Tools > Options - about:config]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]
    [https://support.mozilla.com/en-US/kb/Page%20Info%20window Page Info] Tools (Alt + T) > Page Info, Right-click > View Page Info
    [https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts Keyboard Shortcuts]
    [https://support.mozilla.com/en-US/kb/Viewing%20video%20in%20Firefox%20without%20a%20plugin Viewing Video without Plugins]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder & Files]
    [https://developer.mozilla.org/en/Command_Line_Options#Browser Firefox Commands]
    [https://support.mozilla.com/en-US/kb/Basic%20Troubleshooting Basic Troubleshooting]
    [https://support.mozilla.com/en-US/kb/common-questions-after-upgrading-firefox-36 After Upgrading]
    [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20plugins Troubleshooting Plugins]
    [http://kb.mozillazine.org/Testing_plugins Testing Plugins]

  • With multiple tabs open, I use to click File, close tab---now close tab is missing and I exit out of Firefox completely. How do I get that choice back "close tab" in the "File" drop down? Thanks. George C.

    The drop down "FILE" in the tool bar use to have a choice to "CLOSE TAB". This is now missing so when I have multiple tabs open and I want to close the most recent, I cannot. I then get warned that I will be closing multiple numbers of tabs, but there is no other choice.
    How do I get the "CLOSE TAB" back in the drop down "FILE" in the tool bar

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions 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
    * [[Troubleshooting extensions and themes]]

  • Firefox asks (twice) to save and close tabs, on new open windows without tabs, when i close them.

    About one month ago, i started to receive a message box from firefox, asking if i wanted to save and close tabs, on newly open windows (and pop-ups) without any tabs open on them.
    And everytime i close the windows without tabs, firefox asks it twice...
    I did not made any changes, so i don't know why it started doing this.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

Maybe you are looking for

  • Difference between creating a "Item" Goods Receipt PO and a "Service" one

    I use following codes to create a Goods Receipt PO. It works fine while creating an "item-type" goods recript PO, but got the following error message when creating a "service-type" one?         "-5--2 Data cannot be empty in one of the tables Doc1, D

  • Tough query

    Need a little help with tuning of my query. The following select statement going to compare two tables for missing records. One of the table local and the other remote. There is any hints exist for remote databases? SELECT COUNT(A.CUSTID) FROM DBW_PR

  • Ref: NON PO INVOICE

    Hi experts what is the non PO vendor invoice how can we create non PO vendor invoice in SAP? could you please tell me...

  • How to separate this hyperlink using function in Infopath?

    HI All, How to separate this hyperlink using function in Infopath?http://Site:90/Lists/attachment/Attachments/6/Capture.PNGhttp://Site:90/Lists/attachment/Attachments/6/Capture1.PNG Actually I have two fields in infopath form, attachment field and hy

  • Outer join to apex_collection?

    I have a strange problem. I have a collection which contains two number columns. I am trying to do an left outer join between a table and the collection. However, for some reason the outer join condition seems to be being ignored and if there is no e