aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
AgeCommit message (Collapse)Author
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-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-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.)
2015-04-18Selection handling on exiting visual mode.Stephen Blott
Previously, we removed the selection on exiting visual mode. This collapses the selection instead. My own experience with visual mode suggests that this is better. In particular, if we remove the selection, then when the user re-enters visual mode, they're dropped into caret mode. It is unlikely that the default caret position selected by caret mode is better than the last text selected by the user in either caret mode or visual mode.
2015-04-18Fix #1569.Stephen Blott
2015-04-18Mode indicator: initial move to HUD.Stephen Blott
2015-04-18Mode indicator: strip all references to badges.Stephen Blott
2015-04-05Note scrolling issue #1549.Stephen Blott
2015-04-03Merge branch 'upgrade-notification'Stephen Blott
2015-03-25Check isEnabledForURL on hash change.Stephen Blott
If an exclusion rule depends on the hash/anchor, then we're not picking it up. Here's a concrete example of this: - https?://ca*.computing.dcu.ie/[0-9]*-*#* (which matches slides prepared via "slidy"). The initial URL does not include the anchor/hash, so we miss the exclusion rule. The page is bounced immediately to an anchor/hash for which the rule should apply, and we miss it. (There may be other ways in which the URL can change (WebNavigation?), we need to look into this.)
2015-03-22Use chrome.notifications for upgrade notifications.Stephen Blott
2015-03-17Activate vomnibar in window.top; fix dropped line.Stephen Blott