Re: [Vimprobable-users] [patch] to escape auto focused inputs on page load
Vimprobable is a lean web browser optimised for full keyboard control
Brought to you by:
hanness
From: Matthew C. <je...@gm...> - 2012-01-21 07:21:01
|
Hello all, My best patch set to date. These two patches do the following: Add toggleable option: set escapeinput=[true|false] With true (default) the following new behavior happens: Any auto-focused inputs are immediately escaped on page load (done inside main.c so it no longer relies on a javascript call). With false the new behavior above is ignored. In both modes, vimprobable2 will now correctly see focused fields and change to "insert mode" so you can type in the highlighted field (finally no more being stuck in an insert box without being in "insert mode"). This also works with any unique website features which put the user into an input box (such as duckduckgo.com's bang syntax box to the right of main search bar) and will properly convert to "insert mode". Lastly, I set the default search engine to duckduckgo (also changed default command bar color to a darker theme). Hannes, hopefully this saved you some work. With these changes I have hopefully resolved some annoyances of vimprobable2 for all. Next up I want to add password saving (possibly just unsecure/plaintext). Has this been done in the past and discarded due to fattening up the code? Also how do I get my name added to LICENSE? :) Thanks, -Matthew Carter On Sat, Jan 21, 2012 at 12:56:29PM +0600, Alexander Aksarin wrote: > On 20:40 Fri 20 Jan , Hannes Schüller wrote: > > Matt Carter <je...@gm...> wrote: > > > Patch for hinting.js file, not sure if anyone else will find it useful > > > but it escapes auto-focused input fields (such as on google.com) which > > > mess up the current vimprobable2 mode detection (focused input without > > > being in insert mode). > Thank You. Auto-focus input fields is annoying. > > > This is an interesting one. I think there are two options, out of which > > this is one. The other way would be to actually go to INSERT mode > > automatically if a form element is focused (which would mean > > re-introducing focus watchers in some limited way). > > > > Everyone - which behaviour is preferable? > I prefer first, because it's more predictable and confortable for me. > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Vimprobable-users mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vimprobable-users -- Matthew Carter je...@gm... |