X
Tap here to go to the mobile version of the site.

Support Forum

How to forbid pages to set up a default entry field for the keyboard ?

Posted

Hi everyone,

I have been having a problem quite often, you see I use vim-vixen which is an firefox plugin that makes firefox do specific tasks (change tab, open link, copy url, ...) when hitting letters of the keyboard. The only issue is that sometimes some websites specify a "default" form to start filling up when hitting keys. Typically search field. Let me explain with an example :

If you look at a video on hooktube (random video here : https://hooktube.com/watch?v=FlT4uLLIGMY) and hit some letters on your keyboard it automatically start entering them in the search bar in the top right hand corner. Forbidding me of using the shortcuts of vimvixen. I have to manually click on an empty space of the page to exit this field and then I can access the shortcuts.

So my question is : is it possible to forbid website to specify a default field ? or to select an empty space by default ? or any workaround really. I'd be surprised if about:config doesn't allow something like that.

Thanks for your help :) don't hesitate to make me explain in more details if I haven ot been clear enough !

Hi everyone, I have been having a problem quite often, you see I use vim-vixen which is an firefox plugin that makes firefox do specific tasks (change tab, open link, copy url, ...) when hitting letters of the keyboard. The only issue is that sometimes some websites specify a "default" form to start filling up when hitting keys. Typically search field. Let me explain with an example : If you look at a video on hooktube (random video here : https://hooktube.com/watch?v=FlT4uLLIGMY) and hit some letters on your keyboard it automatically start entering them in the search bar in the top right hand corner. Forbidding me of using the shortcuts of vimvixen. I have to manually click on an empty space of the page to exit this field and then I can access the shortcuts. So my question is : is it possible to forbid website to specify a default field ? or to select an empty space by default ? or any workaround really. I'd be surprised if about:config doesn't allow something like that. Thanks for your help :) don't hesitate to make me explain in more details if I haven ot been clear enough !

Chosen solution

Hi,

I believe the about:config option for that is "browser.autofocus". Can you try that to "false" and see if it works? (you may have to restart Firefox after changing it).

Read this answer in context 1

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0

More Information

user1929 58 solutions 234 answers

Chosen Solution

Hi,

I believe the about:config option for that is "browser.autofocus". Can you try that to "false" and see if it works? (you may have to restart Firefox after changing it).

Hi, I believe the about:config option for that is "browser.autofocus". Can you try that to "false" and see if it works? (you may have to restart Firefox after changing it).