aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
AgeCommit message (Collapse)Author
2015-04-28Merge pull request #1607 from mrmr1993/make-getVisibleClientRect-safeStephen Blott
Make getVisibleClientRect behave as expected by default
2015-04-28Temporary fix for tests.Stephen Blott
2015-04-28Fix word movement for non-English characters.Stephen Blott
Fixes #1592.
2015-04-28Only grab focus after link transition.Stephen Blott
2015-04-28Do not grab back focus if Vimium is disabled.Stephen Blott
2015-04-28Make DomUtils.getVisibleClientRects default to expected behaviourmrmr1993
This requires passing of an extra truthy argument in order to access the (generally) unexpected behaviour of sometimes returning the rects of child elements. All locations in the code that *actually* wanted this behaviour have been updated to continue using it. Also add a comment about the unexpected behaviour in the function description.
2015-04-28Merge pull request #1601 from mrmr1993/fix-scrollIntoViewStephen Blott
Fix bounds and amounts in Scroller.scrollIntoView
2015-04-28Ensure keydown handler returns a truthy value.Stephen Blott
2015-04-28Merge pull request #1595 from mrmr1993/no-focus-submitStephen Blott
Don't focus <input type="submit" /> elements from link hints
2015-04-28Fix bounds and amounts in scrollIntoViewmrmr1993
2015-04-27Always cancel scrolling after additional (non-repeat) keydownsmrmr1993
This fixes #1596.
2015-04-27Don't focus <input type="submit" /> elements from link hintsmrmr1993
2015-04-27Enable grab-back-focus after web navigation.Stephen Blott
Fixes #1588. (??)
2015-04-27Merge pull request #1589 from smblott-github/fix-alt-passkeysStephen Blott
Keys aren't passkeys with Ctrl, Alt or Meta.
2015-04-27Ensure that the Vomnibar iframe background is transparentmrmr1993
Some extensions (eg. Hacker Vision) override the background colour of iframes to make the screen dark, even when the frame is already set to transparent. This gives our rule higher priority, so that the frame is still rendered as transparent, and doesn't obscure the content beneath.
2015-04-27It's not a passkey with Ctrl, Alt or Meta.Stephen Blott
Fixes #1586.
2015-04-26Disable frame flash after Vomnibar closes.Stephen Blott
The UX around this is not quite right yet. It's better to disable it for now.
2015-04-26Remove (overlooked) debugging code.Stephen Blott
2015-04-25Guard against there being no load handler.Stephen Blott
2015-04-25Minor tweak of front-end settings.Stephen Blott
2015-04-25Simplify front-end settings logic.Stephen Blott
- Simplify the settings logic. - Send a single request for all required settings (instead of 12 inidividual requests for the 12 settings values we need in the front end).
2015-04-25Remove unused code.Stephen Blott
2015-04-25Track tab URL even if frame's URL changes.Stephen Blott
We track the URL of the active frame in each tab so that we can correctly populate the rules in the page popup. Previously, we tracked URL changes only on focus events. This commit moves that to isEnabledForURL, which is also called when the URL changes as a result of web navigation.
2015-04-25Remove requirement for Chrome 41.Stephen Blott
2015-04-25Merge branch 'exclusion-rules-pushState-and-hash' of ↵Stephen Blott
https://github.com/mrmr1993/vimium into mrmr1993-exclusion-rules-pushState-and-hash Conflicts: content_scripts/vimium_frontend.coffee
2015-04-25Merge remote-tracking branch 'origin/focus-main-frame' into ↵Stephen Blott
focus-main-frame-merge Conflicts: content_scripts/vimium_frontend.coffee Also rework to remove dependency on Chrome 41+ sendMessage API (specifically, relating to optional target frameId argument).
2015-04-25Merge branch 'vomnibar-in-main-window' into vomnibar-in-main-window-mergeStephen Blott
Conflicts: background_scripts/main.coffee content_scripts/vimium_frontend.coffee
2015-04-24Always initialise event listeners earlymrmr1993
The event listeners were registered late, potentially allowing the page to get priority over us for key events, etc., when: * the original URL was disabled by an exclusion rule * the URL was changed - without a page load (by history.pushState or modifying location.hash), and - the new URL isn't (completely) disabled by any exclusion rules. This forces the event listeners to be registered even when the current URL is disabled, to avoid this problem.
2015-04-24Re-check enabled state after history.pushState/location.hash is changedmrmr1993
This uses the chrome.webRequest API to detect changes to page URL which *do not* cause the content script to refresh.
2015-04-24Get incognto state directly from chrome.extensions.inIncognitoContextmrmr1993
2015-04-23Activate vomnibar in window.top; no flicker and tidy up.Stephen Blott
1. Rework event handling to eliminate frame flicker (a la #1485). 2. Tidy up logic. Which should make this more robust.
2015-04-22Tidy up.Stephen Blott
Remove reference to unused setting "vomnibarInTopFrame".
2015-04-22Also filter for HREF in incognito mode.Stephen Blott
2015-04-22Filter out non-HREF elements for "yf".Stephen Blott
If the element does not have an HREF, then we shouldn't be offering to copy it's link.
2015-04-22For "yf", handle case where link.href isn't defined.Stephen Blott
Note: We probably shouldn't be offering these links at all.
2015-04-22Show yanked text in HUD for "yf".Stephen Blott
2015-04-21mainFrame; simplify logic.Stephen Blott
2015-04-21Implement mainFrame command.Stephen Blott
Fixes #426.
2015-04-19Remove logging code accidentally committed.Stephen Blott
2015-04-19Fix merge oversight.Stephen Blott
2015-04-19Merge branch 'remove-badges'Stephen Blott
Conflicts: content_scripts/vimium_frontend.coffee
2015-04-19Activate vomnibar in window.top; fix logic error.Stephen Blott
2015-04-19Activate vomnibar in window.top; handle Vomnibar even if disabled.Stephen Blott
Vomnibar commands are handled in a frame even is isEnabledForUrl is false.
2015-04-18Mode indicator: fix insert mode within edit mode.Stephen Blott
2015-04-18Activate vomnibar in window.top; add "labs" option.Stephen Blott
2015-04-18Mode indicator: more fix HUD messages for caret mode.Stephen Blott
2015-04-18Merge pull request #1572 from smblott-github/return-to-viewportStephen Blott
Return to the original viewport (when no find matches)
2015-04-18Mode indicator: more fix for link hints.Stephen Blott
2015-04-18Mode indicator: fix for link hints.Stephen Blott
2015-04-18Only return to viewport from visual mode.Stephen Blott
When there is no find-mode match, return to the original viewport. This is a better UX in visual mode, because the text the user is searching for is often on within the viewport. (This is also more vim like. We could consider *always* working this way.)