tag:blogger.com,1999:blog-22120968.post2009599288955800042..comments2024-03-22T13:47:33.583-04:00Comments on Jon Schneider's Tech Blog: How to prevent a web site from stealing the focus in FirefoxJon Schneiderhttp://www.blogger.com/profile/05718316809087214442noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-22120968.post-32494195623515203812016-11-30T06:07:50.919-05:002016-11-30T06:07:50.919-05:00Ok, this is how I managed to do this in 2016 ->...Ok, this is how I managed to do this in 2016 -><br />1. install vimFX<br />2. start using it :) it is awesome !!!!<br />3. choose option "stop websites from stealing focus on user input<br />4. Be blessed.<br />Karol Mierzejewskihttps://www.blogger.com/profile/06717024670964558549noreply@blogger.comtag:blogger.com,1999:blog-22120968.post-66958747650082892062013-02-26T14:45:49.736-05:002013-02-26T14:45:49.736-05:00Just an update: You can easily disable the "s...Just an update: You can easily disable the "steal focus" behavior by going to "about:config", and changing "browser.autofocus" to false.Jotafhttps://www.blogger.com/profile/11804130701206652599noreply@blogger.comtag:blogger.com,1999:blog-22120968.post-37437036514837318922010-12-25T09:19:42.092-05:002010-12-25T09:19:42.092-05:00@Anonymous (12/25), I'm not sure you're pu...@Anonymous (12/25), I'm not sure you're putting the user.js file into the correct folder. Make sure you're following the instructions here:<br /><br /><a href="http://kb.mozillazine.org/Profile_folder_-_Firefox#Using_the_Help_menu_-_Firefox_3.6_and_above" rel="nofollow">http://kb.mozillazine.org/Profile_folder_-_Firefox#Using_the_Help_menu_-_Firefox_3.6_and_above</a>Jon Schneiderhttps://www.blogger.com/profile/05718316809087214442noreply@blogger.comtag:blogger.com,1999:blog-22120968.post-48278940830479312592010-12-25T00:58:41.068-05:002010-12-25T00:58:41.068-05:00What am I doing wrong? I put those 3 lines into a ...What am I doing wrong? I put those 3 lines into a notepad document using www.yahoo.com, named it user.js and put it in E:\Program Files\Mozilla Firefox\defaults\profile\ and it still isn't working. Am I doing something wrong?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-22120968.post-54370492125178544952010-03-22T01:56:11.037-04:002010-03-22T01:56:11.037-04:00I use firefox 3.5.7 and also cannot get the fuckin...I use firefox 3.5.7 and also cannot get the fucking thing to block only specific sites. i was able to get it to block everything as confirmed above, but that's fucking burning the goddamn house down to get rid of the fucking roaches!!!<br /><br />why doesnt this fucking shit work!!!! i only want to make fucking yahoo not steal my fucking focus!!<br /><br />http://forums.mozillazine.org/viewtopic.php?f=38&t=1801495&p=8982345#p8982345Unknownhttps://www.blogger.com/profile/04951322670231369932noreply@blogger.comtag:blogger.com,1999:blog-22120968.post-25779657625134132622009-12-26T03:41:32.473-05:002009-12-26T03:41:32.473-05:00Thanks! My home page stealing the focus was making...Thanks! My home page stealing the focus was making me nuts.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-22120968.post-39703126968062364962009-08-28T16:08:08.037-04:002009-08-28T16:08:08.037-04:00Hopefully we'll see a fix for this issue befor...Hopefully we'll see a fix for this issue before too long in Firefox. There's been quite a bit of development activity on this bug recently (per the Bugzilla link near the end of the original post above).Jon Schneiderhttps://www.blogger.com/profile/05718316809087214442noreply@blogger.comtag:blogger.com,1999:blog-22120968.post-59485934025901741342009-08-28T13:48:45.182-04:002009-08-28T13:48:45.182-04:00What does work, however, is the first method liste...What does work, however, is the first method listed on the blog you linked to, which just disallows this behavior by default:<br /><br />user_pref("capability.policy.default.HTMLInputElement.focus", "noAccess");<br /><br />Works like a charm. I'm not going to tweak it any further, as I have no use for the focus-stealing behavior in the first place.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-22120968.post-10095441531220200832009-08-28T13:39:29.922-04:002009-08-28T13:39:29.922-04:00Boy do I ever wished this worked, because my home ...Boy do I ever wished this worked, because my home page is set to http://www.google.com and it drives me bonkers to always be doing Google "searches" on the last half of the URL I'm trying to input into the address bar of a freshly-opened browser or tab. Unfortunately, it just doesn't work.<br /><br />I'm running the most current version of Firefox (3.5.2) on Windows XP, but I've apparently had this exact snippet in my user.js for quite some time and it simply fails to do anything at all.<br /><br />It was annoying me more than usual this morning, so I googled the issue, found this page (for the second time, apparently), went to input this into my user.js and lo-and-behold, it was already there. Then I remembered going through this process a few months back and giving up after it failed to work then...<br /><br />My user.js is in the correct location for Windows XP, etc. It just doesn't work for me. Such a pity, because this issue truly annoys me.Anonymousnoreply@blogger.com