abort netbios lookup when user hits ESC key
Posted: Sat Jan 18, 2014 12:41 am
if I type something short in the address bar, Firefox will attempt DNS resolution, failing that it will try NetBios resolution, and if that fails it'll redirect to a search engine. This process can be aborted at any time using the ESC key.
I found that when the NoScript addon is enabled, if I hit the ESC key, the tab title changes from '@ Connecting' back to 'New Tab', but after a few seconds Firefox goes to the search engine anyway, and it will replace whatever page is currently loaded in the tab and whatever I typed into the address bar in the meantime.
I encounter this problem pretty often because Firefox's url autocomplete feature is asynchronous and sometimes does not kick in fast enough (maybe cold start, or maybe if that part of memory is paged out at the moment). If I want to go to 'example.com' and I punch in 'ex' + ENTER too quickly, Firefox will try to resolve 'ex' as the server name.
(PS: this has been happening for quite some time now)
I found that when the NoScript addon is enabled, if I hit the ESC key, the tab title changes from '@ Connecting' back to 'New Tab', but after a few seconds Firefox goes to the search engine anyway, and it will replace whatever page is currently loaded in the tab and whatever I typed into the address bar in the meantime.
I encounter this problem pretty often because Firefox's url autocomplete feature is asynchronous and sometimes does not kick in fast enough (maybe cold start, or maybe if that part of memory is paged out at the moment). If I want to go to 'example.com' and I punch in 'ex' + ENTER too quickly, Firefox will try to resolve 'ex' as the server name.
(PS: this has been happening for quite some time now)