aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
AgeCommit message (Collapse)Author
2017-11-14FF: Restore window expando on every event listenermrmr1993
This should fix *most* problems from Firefox issue 1408996[1]. The root cause of the bug is that document.domain is set, and Firefox discards the 'expando' for the window that contains all properties we set. Technically, this can happen at any time, and so some failures are still possible. This fixes #2799. [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1408996
2017-11-12Use tabIndex to provide the special focusInput behaviour in the optionsmrmr1993
2017-11-12Make focusInput visit inputs according to tabIndex ordermrmr1993
2017-11-11Remove unclear & unnecessary tabCount argument to updateVisibleMarkersmrmr1993
2017-11-11Clear tabCount explicitly when needed, instead of implicitly and undoingmrmr1993
This changes the behaviour of Enter and Space. * It should make no difference for Enter, as it exits the mode. * It makes no sense for rotating the layering of the hints to clear the active hint (when the next key is pressed), so I suspect it was an oversight.
2017-11-09Use HTML labels accessor to get link hint labels for input elementsmrmr1993
2017-11-09Suppress keydown events for link hint charactersmrmr1993
2017-11-02Compare with lower case strings when using toLowerCasemrmr1993
Credit to @gdh1995 for catching this.
2017-11-02Replace all references to selection.type with our FF polyfillmrmr1993
Credit to @gdh1995 for catching these oversights.
2017-11-02FF: Don't use Selection.getRangeAt(0) when there are no rangesmrmr1993
This fixes #2757.
2017-11-02Merge pull request #2762 from mrmr1993/gmail-rolesStephen Blott
Add some roles used by GMail to link hints
2017-11-02Add some roles used by GMail to link hints, reduce no. of comparisonsmrmr1993
2017-11-02Remove the right listener from hashchangemrmr1993
2017-11-01Use Rect.intersects instead of Rect.intersectsStrictmrmr1993
We don't care about overlap at the border here, so we can happily use intersects over intersectsStrict.
2017-11-01Rename Rect.rectOverlaps to Rect.intersectsStrict, clarify the commentmrmr1993
2017-10-29Remove unused codemrmr1993
2017-10-29Let handlerStack call consumeKeyup rather than calling it explicitlymrmr1993
2017-10-29Suppress all keyup events automatically if we consume the keydownmrmr1993
2017-10-29Merge pull request #2748 from mrmr1993/frontend-splitStephen Blott
Move normal mode and its commands out of vimium_frontend.coffee
2017-10-29Guard against undefined DomUtils, instead of stubbing in testsmrmr1993
2017-10-29Make file inputs work with filtered hints.Stephen Blott
2017-10-29Tidy up exports in vimium_frontendmrmr1993
2017-10-29Move findAndFollow* to mode_normal.coffeemrmr1993
2017-10-29Move FocusSelector to mode_normal.coffeemrmr1993
2017-10-29Move selectFoundInputElement into mode_findmrmr1993
2017-10-29Move focusFoundLink into mode_find, don't expose it as globalmrmr1993
2017-10-28Remove normal mode commands from global scopemrmr1993
2017-10-28Remove invokeCommandString, call NormalModeCommands directlymrmr1993
2017-10-28Bind LinkHints, Vomnibar and Marks commands appropriatelymrmr1993
2017-10-27Move goPrevious and goNext to normal mode filemrmr1993
2017-10-27Include LinkHints, Vomnibar and Marks commands in normal mode filemrmr1993
2017-10-27Split focusInput, move the main part into the normal mode filemrmr1993
2017-10-27Move passNextKey to normal mode filemrmr1993
2017-10-27Move mainFrame and showHelp to normal mode filemrmr1993
2017-10-27Move normal mode find commands into normal mode filemrmr1993
2017-10-27Move findAndFocus into FindMode, rename to findNextmrmr1993
2017-10-27Move FindMode exit functions into FindModemrmr1993
2017-10-27Move self-contained normal mode commands to normal mode filemrmr1993
2017-10-27Move NormalMode to its own content scriptmrmr1993
2017-10-27Fix #2738.Stephen Blott
I omitted to check this properly. It turns out we weren't getting the options from the correct place.
2017-10-25FF: Only apply fix to bug 1408996 when appropriatemrmr1993
2017-10-25FF: Workaround bug 1408996 in focusInput's focus listenermrmr1993
2017-10-25FF: Share |root| global proxy, re-add the globals to window on DOMLoadmrmr1993
This is a workaround for Firefox bug 1408996.
2017-10-24Add |hard| option to reload commandmrmr1993
2017-10-19Recognise aria-role=tab elements as clickablemrmr1993
In particular, these are used in the current (2017-10-19) version of YouTube. This fixes #2730.
2017-10-07Tweak #2701 (hint characters for filtered hints).Stephen Blott
Some tweaks to #2701 from @ahstro. 1. Simplify the logic for calculating `modifiers`. 2. Revert the ordering of the `event.repeat` test and `keyChar` assignment. 3. Link hint characters *only* match in upper case. 4. If there are link-hint characters (non numbers), then shifted characters are only ever hints. 5. Otherwise, revert to doing all hint text comparison in lower case.
2017-10-06Allow using capital letters as link hint charactersAnton Strömkvist
2017-10-02FF: Lazy load the Vomnibar for XML documentsmrmr1993
Injecting HTML into XML documents on Firefox breaks the rendering (collapsing it into plain text). By not loading it until explicitly requested, we can avoid this breakage (at least, until a user triggers some of our UI manually).
2017-09-14Fix #2642.Stephen Blott
Fixes #2642.
2017-09-12Use browser.runtime.getBrowserInfo to identify Firefoxmrmr1993