{"id":1085,"date":"2007-04-29T18:28:40","date_gmt":"2007-04-29T15:28:40","guid":{"rendered":"http:\/\/www.mummila.net\/nuudelisoppa\/index.php\/?p=1085"},"modified":"2007-04-29T18:28:40","modified_gmt":"2007-04-29T15:28:40","slug":"firefox-pressing-enter-randomly-opens-a-google-search","status":"publish","type":"post","link":"https:\/\/mummila.net\/nuudelisoppa\/2007\/04\/29\/firefox-pressing-enter-randomly-opens-a-google-search\/","title":{"rendered":"Firefox: pressing enter randomly opens a Google search"},"content":{"rendered":"<p>I&#8217;m not sure if qualifies as a real bug and not just a feature, but I&#8217;ve been having the problem described by the title for quite a while now: sometimes when I&#8217;m typing something in a web page, such as a new e-mail message in Gmail, pressing enter suddenly opens up a new tab with a Google search, with search terms picked up from the tab where I was typing.<\/p>\n<p>Now, I know that Google, respectably, <a href=\"http:\/\/blog.searchenginewatch.com\/blog\/060119-060352\">hasn&#8217;t been as cooperative in giving up their search data to government officials<\/a> as other search engine companies have, but still, I wouldn&#8217;t trust them with the contents of my e-mail messages like this every now and then. So I&#8217;ve tried some tweaks to try and stop this behavior.<\/p>\n<p>I first adjusted the settings of <a href=\"https:\/\/addons.mozilla.org\/en-US\/firefox\/addon\/3035\">Paste And Go 2<\/a>, which is always the first extension I install right after I&#8217;ve installed Firefox. From the <q>Interface<\/q> tab, I disabled <q>Enable Paste and Search by click search engines button with middle mouse button<\/q>. Then, on the <q>Keyboard Shortcuts<\/q> tab, I unchecked all keys and wiped the key field clean, so that in effect, P&amp;G2 now has no keyboard shortcuts. This doesn&#8217;t matter to me as I never use them anyway.<\/p>\n<p>Then, in <a href=\"config\">about:config<\/a>, I set <a href=\"http:\/\/kb.mozillazine.org\/Keyword.enabled\">keyword.enabled<\/a> to <b>false<\/b>. I generally dislike any guesswork being done by applications for me and prefer that they just fail when I fail to communicate my intentions properly (I guess that&#8217;s pretty <a href=\"http:\/\/en.wikipedia.org\/wiki\/Old_school\">oldskool<\/a> thinking nowadays, or at least that&#8217;s what I&#8217;d like to think), so this setting suits me better anyway than the default (which seems to be <b>true<\/b>).<\/p>\n<p>I&#8217;m writing these down here and try to keep an eye out on whether the problem persists, and report back if these seem to have solved it.<\/p>\n<p><ins datetime=\"2007-04-30T09:47:46+00:00\">Next day<\/ins>: My suspicions of Paste And Go 2 being the culprit were heightened, since I discovered that after the abovementioned changes I could no longer access about:config, nor use enter as a hotkey for &#8220;Submit&#8221; on pages (such as Google &#8211; so that I had to select &#8220;Search&#8221; using my mouse to actually make the query), as pressing enter had become synonymous for the &#8220;Paste And Go&#8221; function. After disabling P&amp;G2 I could again access about:config, and so also it seems after changing both keyboard shortcuts to [all meta keys] + \u00a7.<\/p>\n<p><ins datetime=\"2007-05-09T13:46:22+00:00\">9.5.<\/ins>: I was about to declare my experiment a success, but it just happened again.<\/p>\n<p><ins datetime=\"2007-06-27T06:45:06+00:00\">27.6.<\/ins>: I think I found the culprit: <a href=\"http:\/\/mummila.net\/nuudelisoppa\/index.php\/?p=840\">Feeling Lucky extension<\/a> adds a hotkey (Enter) for searches. I haven&#8217;t verified this yet, but I&#8217;m pretty sure disabling the hotkey fixes the problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m not sure if qualifies as a real bug and not just a feature, but I&#8217;ve been having the problem described by the title for quite a while now: sometimes when I&#8217;m typing something in a web page, such as a new e-mail message in Gmail, pressing enter suddenly opens up a new tab with [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[30,28],"class_list":["post-1085","post","type-post","status-publish","format-standard","hentry","tag-bugsglitches","tag-mozilla"],"_links":{"self":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/1085","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/comments?post=1085"}],"version-history":[{"count":0,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/1085\/revisions"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/media?parent=1085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/categories?post=1085"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/tags?post=1085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}