aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-12-22Use a splat instead of applymrmr1993
2014-12-22Prefer `||=` to `= true if`mrmr1993
2014-12-22Correct a typo, add some tests for consistencymrmr1993
2014-12-22Use push with a splat rather than concatmrmr1993
2014-12-22Rename a poorly named variablemrmr1993
2014-12-22Support small <area>s with link hintsmrmr1993
This is primarily to deal with our calculated rects being too small for the `<area shape="poly">` on http://www.mapsofindia.com/worldmap/clickable-world-map.html
2014-12-20Use ||= to not ignore some clickable elements, no negative tabindexmrmr1993
Elements with `tabindex="n"` for parseInt(n) < 0 cannot be selected by pressing the tab key, according to the spec. If we have no other reason to suspect that the element is clickable, we may as well ignore them.
2014-12-19Detect aria properties for disabling/hiding elements in link hintsmrmr1993
2014-12-18Don't show a link hint for certain link hint elementsmrmr1993
Disables showing link hint for elements which * are identified as clickableonly by the tabindex attribute, and * have the entirety of their contents overlapped by other clickable elements. This removes some redundant link hints that were visible on Google+, and hopefully shouldn't remove any useful link hints.
2014-12-18Add brackets so the code compiles as expectedmrmr1993
2014-12-18Improve comments for LinkHints.getVisibleClickableElementsmrmr1993
2014-12-18Split textarea and input detection in link hintsmrmr1993
2014-12-18Use Rect.copy instead of literal member by member copy of a rectmrmr1993
2014-12-18Make some minor changes/tweaks to rect handling in dom_utilsmrmr1993
2014-12-18Add tests for lib/rectmrmr1993
2014-12-18Move rect functions to their own filemrmr1993
2014-12-18Complete a partially written commentmrmr1993
2014-12-18Add link hint support for jsaction event listenersmrmr1993
This was adapted from PR #1316, commit 846a19efe51bfc639ae1ee84e18a5f2d3e12aaff
2014-12-18Remove overlapping rects from link hintsmrmr1993
2014-12-17Unify two loops into onemrmr1993
2014-12-17Stop ignoring clickable opacity: none; elementsmrmr1993
Some websites (notably Facebook) use `opacity: none;` to show an image in the place of a less-customisable element (eg. an `<input type="file" />`). To not show link hints for such transparent elements is confusing and often the wrong thing to do.
2014-12-17Remove redundant array conversionmrmr1993
2014-12-17Don't show link hints for offscreen image mapsmrmr1993
2014-12-17Try to make image map rectangles work bettermrmr1993
2014-12-17Combine rectangle calculation and clickable element detectionmrmr1993
2014-12-17Simplify finding clickable elementsmrmr1993
2014-12-17Inline DomUtils.getClickableElementsmrmr1993
2014-12-17Use element.readOnly instead of getAttribute "readonly"mrmr1993
2014-12-17Treat area elements as being at the point of their img elementmrmr1993
2014-12-17Use the DOM rather than XPath to detect clickable elementsmrmr1993
2014-12-16Ensure we click <input type="submit"> elementsmrmr1993
2014-12-16Increment version to v1.491.49Phil Crosby
2014-12-16Revert "Hide the smooth scroll option from the settings UI"Phil Crosby
This reverts commit 5ec7f490b5e9e68bddb415b66b6cae86841a3d52.
2014-12-16Add a little more context to a commentPhil Crosby
2014-12-16Merge pull request #1336 from smblott-github/do-not-use-math.signPhil Crosby
Do not use Math.sign().
2014-12-16Do not use Math.sign().Stephen Blott
2014-12-16Add comments to nextFrame logic.Stephen Blott
2014-12-16Merge branch 'skip-tiny-frames' of https://github.com/mrmr1993/vimium into ↵Stephen Blott
mrmr1993-skip-tiny-frames
2014-12-16Update version to 1.48Phil Crosby
2014-12-16Merge pull request #1331 from smblott-github/fix-smooth-scrolling-properlyPhil Crosby
Fix scrolling in 1.47, all cases.
2014-12-16Fix smooth scrolling, all cases.Stephen Blott
2014-12-15Update to 1.47Phil Crosby
2014-12-15Merge pull request #1324 from mrmr1993/add-tolerance-to-scroll-checkPhil Crosby
Fix smooth scrolling when zoomed.
2014-12-16Use a tolerance when checking scrolling to fix zoomed scrollsmrmr1993
2014-12-15Skip over tiny frames when calling focusThisFramemrmr1993
GMail and Google Inbox both use a large number of small (typically 0x0 or 1x1 frames) which we have to pass over with nextFrame to get to the frames we want. We avoid this issue by ignoring all frames with height or width < 3, since these will be essentially invisible to the user anyway.
2014-12-15Update version number to 1.46Phil Crosby
2014-12-15Change bugfix -> bug fixPhil Crosby
2014-12-15Changelog for 1.46Phil Crosby
2014-12-15Fix typoPhil Crosby
2014-12-15Merge pull request #1313 from ↵Stephen Blott
smblott-github/mrmr1993-stop-memory-leak-for-keydown-repeats Mrmr1993 stop memory leak for keydown repeats