Commit graph

7 commits

Author SHA1 Message Date
Alexander Butenko
2832704f7d Implement "autosuggest" in form history and bump the version
1. Honor non W3C but commonly used "autosuggest" attribute.

2. Bump version to 1.0. The plugin can be considered stable.
2010-01-10 22:57:17 +01:00
Alexander Butenko
9af30a1eda Optimize and clean-up form history
Switch from g_file_test() to g_access()

Initialize suggestions once the DOM is ready and only once

No need to handle WEBKIT_WEB_NAVIGATION_REASON_FORM_RESUBMITTED

[JS] Hide suggestions if search pattern was cleared

[JS] Human usable up/ down navigation in the suggestion window

Reusing a single suggestion window introduced a regression.
Suggestions were filling into the wrong editbox if there was more
than 1 on the page.

Some comments fixed and style clean-ups

Removed dead code
2009-12-19 11:28:46 +01:00
Alexander Butenko
e1b82af2c7 Re-use the auto suggestion box and make sure it's not overlapped 2009-12-18 10:22:59 +01:00
Alexander Butenko
0518844eee Perform form history suggestions case insensitive
A couple of workarounds for IE plus some unused functions are
also removed.
2009-12-05 01:28:58 +01:00
Alexander Butenko
abba290278 Don't automatically fill in form suggestion if it's only one 2009-11-30 22:05:20 +01:00
Alexander Butenko
37e2c84b2b Install formhistory resources, don't fill in passwords
Reading post data is there but nothing is written to disk yet.
2009-10-07 22:30:16 +02:00
Alexander Butenko
50c159e9bb Initial code for the form history extension 2009-10-06 20:35:56 +02:00