aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
AgeCommit message (Collapse)Author
2014-12-22Use a splat instead of applymrmr1993
2014-12-22Prefer `||=` to `= true if`mrmr1993
2014-12-22Use push with a splat rather than concatmrmr1993
2014-12-22Rename a poorly named variablemrmr1993
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-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-17Remove redundant array conversionmrmr1993
2014-12-17Combine rectangle calculation and clickable element detectionmrmr1993
2014-12-17Simplify finding clickable elementsmrmr1993
2014-12-17Inline DomUtils.getClickableElementsmrmr1993
2014-12-17Use the DOM rather than XPath to detect clickable elementsmrmr1993
2014-12-16Add a little more context to a commentPhil Crosby
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-16Fix smooth scrolling, all cases.Stephen Blott
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-15Fix typoPhil Crosby
2014-12-15Fix second memory leak in KeydownEvents.Stephen Blott
2014-12-15Rework KeydownEvents as an abject.Stephen Blott
2014-12-15Merge branch 'stop-memory-leak-for-keydown-repeats' of ↵Stephen Blott
https://github.com/mrmr1993/vimium into mrmr1993-stop-memory-leak-for-keydown-repeats
2014-12-14Only register events as handled oncemrmr1993
2014-12-14FRAMESET frames should not be registered.Stephen Blott
Somewhere along the road, this got goofed up. This reverts to the intended behaviour.
2014-12-13Remove insert mode check for keyup handlingmrmr1993
If we have handled a keydown then we should always handle its corresponding keyup, regardless of what mode we're in. This prevents us from passing the keyup event for `i` to the page when we enter insert mode.
2014-12-13Make keyup event suppression more readablemrmr1993
2014-12-13Fix flipped viewSize properties in scroller.Stephen Blott
2014-12-05Make the z-indices a little bit smallerPhil Crosby
2014-12-04Increase the z-index of all components to close to Number.MAX_VALUEmrmr1993
2014-11-30Merge pull request #1238 from ↵Phil Crosby
smblott-github/smooth-scrolling-requestAnimationFrame-repeat Smooth scrolling via requestAnimationFrame, with keyboard repeat
2014-11-28Clear all keydown events that correspond to a keyup eventmrmr1993
2014-11-23Merge branch 'contentEditable-fix' of github.com:smblott-github/vimiumStephen Blott
2014-11-23Frames; more cleanup and simplification.Stephen Blott
2014-11-23Don't record frameIds for frames only containing a framesetmrmr1993
Frameset frames have no content of their own -- they only embed other pages in sub-frames. The user can't perform any actions (of ours or the browsers) with a frameset focused, so we might as well just not focus it.
2014-11-23Remove redundant code, add a new listener to be more consistentmrmr1993
2014-11-23Fix frame switching after frame redirect/creationmrmr1993
2014-11-22Revert 3f3f256e1abe2a7795ba89ff6b84d4b81fb0a7e2.Stephen Blott
On reflection, 3f3f256e1abe2a7795ba89ff6b84d4b81fb0a7e2 seems like a bad idea. It's unnecessary, and risks unforeseen consequences.
2014-11-20Fix isValidFirstKey for eg. function keysmrmr1993
2014-11-20Ensure we suppress events for all keys we handlemrmr1993
2014-11-20 Do not handle keystrokes for contentEditable (check find mode).Stephen Blott
It is not strictly necessary to check find mode here. However, if we don't do so, then we leave a booby trap for future developers. So we do the extra check. This, hopefully, means that we don't suddenly find ourselves dropping into insert mode just because somebody reorders the code elsewhere.
2014-11-20Do not handle keystrokes for contentEditable (refactor).Stephen Blott
2014-11-18Do not handle keystrokes for contentEditable.Stephen Blott