aboutsummaryrefslogtreecommitdiffstats
path: root/linkHints.js
AgeCommit message (Collapse)Author
2012-03-06Indicate clicked element via border style rather than focus.Jez Ng
This makes it slightly more obvious, and it promotes decoupling -- changing focus affects a lot of other behavior, and it's more elegant not to have to juggle that.
2012-03-06Consider elements with 'button' in their class as clickable.Jez Ng
2012-03-06Remove redundant key event handlers.Jez Ng
2012-03-06Remove orphaned comment.Jez Ng
2012-03-06Remove need for openLinkModeToggle.Jez Ng
2012-03-06Further reduction in state -- cssAdded is unnecessary.Jez Ng
2012-03-06Refactor link activation code -- reduce statefulness.Jez Ng
Blurring of links after clicking (#193) was not working; this commit fixes that too.
2012-03-06Clean up link copying code.Jez Ng
2012-03-03Fix name.Jez Ng
2012-03-02Only show hints for focusable input elements.Jez Ng
Closes #496.
2012-02-27Store checkbox state as a boolean.Jez Ng
2012-01-26Factor out common DOM functions.Jez Ng
2012-01-25Merge remote-tracking branch 'venshi/master'Jez Ng
2012-01-25Fix the statement to add/remove matchingCharacter class.Peter Parks
2012-01-24Remove extra application of reset class to linkHint spans.Peter Parks
2012-01-24Reverse logic on the if statement to apply matchingCharacter class.Peter Parks
2012-01-24Cleanup code for adding reset and matchingCharacter classesPeter Parks
2012-01-24Merge branch 'master' of github.com:venshi/vimiumPeter Parks
2012-01-24Fix hidden image map issuePeter Parks
issue #461 img.getClientRects() was returning an empty object instead of false when the img map was not displayed. So instead of checking for a false object, check for the length of items instead.
2012-01-23Revert "Optimize hint generation."Jez Ng
This reverts commit f1e92dfe796eb487c9cec41038d8ad7bd99242db. The apparent improvements in performance do not seem to be reproducible.
2012-01-22Optimize hint generation.Jez Ng
Use createElement() instead of directly manipulating innerHTML.
2012-01-22Refactor and optimize filter link hints.Jez Ng
Don't regenerate all hints when the user is typing the hint string. Use native object properties rather than getAttribute() -- it's less awkard.
2012-01-22Display filter-hint text in the original case.Jez Ng
Uppercasing seems to reduce readability for longer strings.
2012-01-20Add vimimResest to linkhint spans that are non-matching.Peter Parks
This also applies to issue #452
2012-01-20Add vimiumReset class to spans that get matchingCharacter assigned.Peter Parks
Fixes issue #452
2012-01-20Remove internalVimiumHintMarker class from vimiumHintMarkerContainerPeter Parks
Fixes a bug that displays a box in the upper left hand corner as mentioned in issue #453
2012-01-20Scatter the link hints less naively.Phil Crosby
2012-01-20Generate only the minimum number of characters needed for a set of links. ↵Phil Crosby
This should fix #386.
2012-01-19bubbleEvent should manage the native event propagation.Jez Ng
If the handlers do not want it bubbled up the internal stack, we can safely assume that they do not want it bubbled up the native stack as well. This fixes some problems e.g. with Google search pages.
2012-01-18Prevent link hinting from throwing an exception.Jez Ng
This was causing hinting to fail entirely on some pages.
2012-01-15Harden and move CSS declarations out of the code.Peter Parks
Remove CSS from background_page.html and change getLinkHintCss to only return the user's overrides. Add vimiumReset class to html generated by completionDialog, helpDialog, linkHints and vimiumFrontEnd Add vimium.css to the manifest and link to it in the tests_harnesses/automated.html and options.html. Add an id, vimiumLinkHintsContainer, to linkhints div to allow user overrides to have a higher specificity. Change the default for the user CSS override.
2012-01-15Scroll the body element if last activated node is not visible.Jez Ng
2012-01-14Handle non-character keys properly in hints mode.Jez Ng
Previously, pressing any non-character key would re-show all hints. Refactored the code in the process to make it more obvious whether we're handling all possible keypress cases.
2012-01-12Fix regression -- issue #286 is reactivated by 34bc211.Jez Ng
2012-01-10Detect contentEditable elements for hinting / input focus.Jez Ng
2012-01-09Consider all clientRects when checking for visibility.Jez Ng
Fixes issue #235.
2012-01-09Capture all key events when in delayMode.Jez Ng
Closes #396.
2012-01-09Make focusInput detect textareas as well, and refactor the XPath code.Jez Ng
Together with e2f3b54, this closes issue #276.
2011-11-26whitespacePhil Crosby
2011-10-09fixes #393: detect Image map in hint modeAkira Ohnishi
2011-09-04Fixing bug where opening a link in a seperate tab the second time fails to workFred Song
2011-07-29Remove the zooming functionality. It conflict's with Chrome's native zooming ↵Phil Crosby
and doesn't work as well. Now that Chrome saves your zoom settings, there's no need for our own zoom implementation. This also fixes #370.
2011-07-21Make link hints appear out of ordernazri
This has the effect of link hints 'spreading' out after the first key is pressed on a link-heavy page.
2011-07-14Cleaning up comments and console outputMurphy McMahon
2011-07-14Added clipboard copying to linkHints mode (default binding: 'Y')Murphy McMahon
2011-06-14Fix for issue #286 - GitHub logo doesn't get hintedRobert Smith
2011-05-14Stop looping over array once we have modified it.jez
Closes bug introduced by commit 94ca405e.
2011-05-14Format lines to 110 characters.jez
2011-05-14Remove focus after clicking on links.jez
Deals with issue #193. Thanks to @blaix for the original fix in pull request 318.
2011-05-14Add comment about caching hintString.length.jez
Done with reference to commit bcf01ad7ec356c62cb1f8c0efcd83cd26c2d8a86.