aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
AgeCommit message (Collapse)Author
2015-04-28Fix vomnibar start-up messages.Stephen Blott
2015-04-28Revert "Do not grab back focus if Vimium is disabled."Stephen Blott
This reverts commit cfb137d515e6f214322538fdd9a8e236445b63b0. Conflicts: content_scripts/vimium_frontend.coffee There are HUD initialization issues with this.
2015-04-28Follow on from 6073cafed845cd31f88c5b51aafacc44278245fb.Stephen Blott
2015-04-28Fix over-riding of vomnibar display CSS.Stephen Blott
Fixes #1594.
2015-04-28Temporary fix for tests.Stephen Blott
The tests are passing, but they are triggering an exception in the initialization of the HUD. It's proving difficult to get the initialization in the right order for both the tests and live. This is a temporary fix...
2015-04-28Revert "Temporary fix for tests."Stephen Blott
This reverts commit ed7533b48f2f0c7cdd0272f9c6c61c44cfc5c463. This was somehow(?) causing the HUD to not be displayed. Need to come back and look at the tests issue. The tests are passing, they just generate an exception.
2015-04-28Merge pull request #1609 from ↵Stephen Blott
smblott-github/fix-grab-back-focus-after-web-navigation Fix grab back focus after web navigation
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.