{"id":24764,"date":"2011-02-03T10:10:00","date_gmt":"2011-02-03T10:10:00","guid":{"rendered":"http:\/\/scienceblogs.com\/gregladen\/2011\/02\/03\/how-to-save-yourself-and-your\/"},"modified":"2011-02-03T10:10:00","modified_gmt":"2011-02-03T10:10:00","slug":"how-to-save-yourself-and-your","status":"publish","type":"post","link":"https:\/\/gregladen.com\/blog\/2011\/02\/03\/how-to-save-yourself-and-your\/","title":{"rendered":"How to save yourself and your browser from a web site that won&#8217;t go away"},"content":{"rendered":"<p>The advise I&#8217;m about to give you is something I&#8217;ve figured out my own and seems to work, but I do not know why, if it is necessary, or if there is a better way to manage this problem.  If you have a better recommendation, please add it to the comments!<br \/>\n<!--more--><br \/>\nSome web sites can&#8217;t be safely closed. If you visit such a site and try to close the browser or tab, a dialog box pops up asking if you really want to close the page, or some such nonsense.  It seems to be the case that if you click on that box, only bad things happen and the web page does not go away.  The only thing you can do is crash your browser, but if you do that, your browser, being both over-engineered and stupid (as most browsers are) will helpfully open the site back up again when is restarted.<\/p>\n<p>I do not have any third party anti-malware applications installed on my system, as I regard any such software to be malware itself, and I avoid using operating systems that are so vulnerable to attack as to need such overhead-hogging dangerous code running all the time.  Perhaps you have such anti-malware and it takes care of this problem for you. If not, read on.<\/p>\n<p>Here&#8217;s what I do: 1) close all windows and browser instances except the offending tab.   2) Open a terminal.  3) Use a cli-command to kill the browser.  For me, on Linux, using a current  version of Firefox, what works is &#8220;killall firefox-bin&#8221;; 3) click the up-history arrow on your cli to bring the command back to the command line; 4)  re-open the browser; 5) As the browser is opening, re-issue the kill command.  6) Repeat two or three times.<\/p>\n<p>Normally, the browser, or at least, Firefox and related browsers with default configurations, will try to reopen the offending web site when it first comes back up, but after &#8220;crashing&#8221; a couple\/few times (and you are crashing it with the kill or killall command) the browser should come up with a &#8220;mea culpa&#8221; screen asking if you want to restore the previous session or not.  Say no.  The offending website is gone.<\/p>\n<p>This procedure will have to be adjusted for your operating system, but it works fine in Linux.<\/p>\n<p>There are all kinds of reasons this may not work for you, or may not be necessary.  If so, indicate what those are please.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The advise I&#8217;m about to give you is something I&#8217;ve figured out my own and seems to work, but I do not know why, if it is necessary, or if there is a better way to manage this problem. If you have a better recommendation, please add it to the comments!<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"1","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[67],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p5fhV1-6rq","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/posts\/24764"}],"collection":[{"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/comments?post=24764"}],"version-history":[{"count":0,"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/posts\/24764\/revisions"}],"wp:attachment":[{"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/media?parent=24764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/categories?post=24764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/tags?post=24764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}