aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
AgeCommit message (Collapse)Author
2017-12-14Fix enabled state on webNavigation.Stephen Blott
`forTrusted()` for `checkEnabledAfterURLChange()` after web navigation is being called with a request (not an event). So make the request trusted. The symptom was that pass keys and the enabled state was not being correctly updated on web navigation.
2017-12-12Merge pull request #2371 from smblott-github/add-swap-option-for-marksStephen Blott
Add "swap" command option for marks.
2017-12-02Recurse an arbitrary depth into shadow DOMs for insert mode elementmrmr1993
2017-11-30Rework insert mode (check status dynamically).Stephen Blott
This removes @insertModeLock and instead always checks whether we are in insert mode dynamically (as we previously did only for contentEditable). @mrmr1993... Would you be able to check this, please? It is intended to be mostly a no-op. Fixes #2841.
2017-11-25Tweak #2783.Stephen Blott
Tiny tweaks... 1. The test is clearer like this. 2. Use a more CoffeeScript-ish approach to sub-string.
2017-11-25Merge pull request #2783 from mrmr1993/use-HTML5-labelsStephen Blott
Use HTML labels accessor to get link hint labels for input elements
2017-11-25Use mkRepeatCommand in main.coffee.Stephen Blott
Tweak of #2601.
2017-11-25Merge pull request #2601 from mrmr1993/ff-copy-pasteStephen Blott
Enable Firefox clipboard commands
2017-11-24Merge branch 'mrmr1993-pr/link-hints-consistent-flash'Stephen Blott
2017-11-24Localise the logic for handling flash elements.Stephen Blott
2017-11-24Reintroduce default value for argument in LinkHints::activateLinkmrmr1993
2017-11-24Flash the clicked element for alphabet hintsmrmr1993
2017-11-24Merge branch 'mrmr1993-simplifyTabCount'Stephen Blott
Merging #2792 (mention @mrmr1993).
2017-11-24Retain @tabCount unchanged for non-printable characters.Stephen Blott
Previously, @tabCount was reset on the `<Shift>` `keydown` event, which defeats the purpose of #2792. Also, the @tabCount was reset on other non-printable characters such as `<LeftArrow>`.
2017-11-22Add a comment for Frame expando fixmrmr1993
2017-11-22FF: Reattach expando on every message to Framemrmr1993
This fixes #2830: it stops timesofindia.indiatimes.com from failing due to FF bug 1408996.
2017-11-20Unify link hint flash codepathsmrmr1993
2017-11-20Inline installKeyboardBlockermrmr1993
2017-11-20Tidy up multiple/redundant checks in LinkHints.activateLinkmrmr1993
2017-11-20Use Rect.translate to create rects for addFlashRectmrmr1993
2017-11-18Merge pull request #2802 from mrmr1993/pr/link-hints-pass-non-printing-keysStephen Blott
Don't suppress default action for non-printing keys in link hints
2017-11-18FF: Show HUD (transparently) when pasting, manage focus changes bettermrmr1993
2017-11-18FF: Use HUD frame for openCopiedUrlIn{Current,New}Tabmrmr1993
2017-11-18FF: Use HUD.copyToClipboard everywheremrmr1993
2017-11-18FF: Use HUD.copyToClipboard for copyCurrentUrlmrmr1993
2017-11-18Initialize the HUD for clipboard operations if it hasn't been alreadymrmr1993
2017-11-18FF: Add copy/paste functions to the HUDmrmr1993
2017-11-18Note reason for this rather obscure line.Stephen Blott
2017-11-18Merge pull request #2800 from mrmr1993/ff-aggressively-restore-window-expandoStephen Blott
FF: Restore window expando on every event listener
2017-11-18Make clear that element need not be provided here.Stephen Blott
2017-11-18Merge pull request #2801 from mrmr1993/pr/search-for-scrolling-element-from-bodyStephen Blott
Start searching for scrollable elements from <body> instead of <html> whenever possible
2017-11-16Use Mode::push to handle adding/removing a handlermrmr1993
2017-11-14Don't suppress default action for non-printing keys in link hintsmrmr1993
This restores the old behaviour prior to c4cc76e9f6a0a99ebc297e420be739a0fc77f827 (PR #2772).
2017-11-14Start searching for scrollable elements from <body> whenever possiblemrmr1993
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