aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/vimium_frontend.coffee
AgeCommit message (Collapse)Author
2014-11-02Force our key event handlers to have the highest possible prioritymrmr1993
* The `window` object receives key events before the `document` object, and so any event listeners on `window` get priority. This commit switches from binding `keydown`, `keypress`, `keyup` on `document` to on `window`. * We were using `event.stopPropagation()` to prevent other event listeners from firing if we had handled an event. This stopped the event from propagating to other elements/objects and triggering their event listeners, but didn't block event listeners registered on the same object as ours. Switching to `event.stopImmediatePropagation()` ensures that our event listener is the last to run for the event. Fixing these issues allows Vimium to regain control over key events in Google Groups (eg. the [vimium-dev group](https://groups.google.com/forum/vimium-dev)).
2014-10-29Revert 2c7bebb5f2c873850c2b2d82013cab4eb3d4913cStephen Blott
On reflection, this seems too dangerous: - Somebody excluded flash for a reason, and without knowing that reason, it seems dangerous. - Imagine a flash game with key bindings. Perhaps it uses ? to show the key bindings, and ESC to hide them again. With 2c7bebb5f2c873850c2b2d82013cab4eb3d4913c, you can never hide the key bindings (I think). All in all, this just seems too risky.
2014-10-29Repair insert mode.Stephen Blott
I broke it here: 77e1ded091062ca2e52264d222482dcd06290a9b
2014-10-26Allow blur of embedded objects (e.g. flash).Stephen Blott
2014-10-26Fix detection of embedded objects.Stephen Blott
2014-10-26Change registerFrameIfSizeAvailable to registerFrame, stop sending sizemrmr1993
We were never using the area property, and it was causing an infinite setTimeout loop on frames with height == 0 or width == 0 (often caused by AdBlockPlus etc.).
2014-09-02Structured exclusion rules: Fix typos and minor issues.Stephen Blott
2014-09-02Structured passkeys, internally and on the options and popup pages.Stephen Blott
2014-08-24Fix passKeys bug introduced in commit 700d35aStephen Blott
2014-08-24Do not call handlers which do not exist (fixed, again).Stephen Blott
2014-08-24Do not call handlers which do not exist (fixed).Stephen Blott
2014-08-24Do not call handlers which do not exist.Stephen Blott
2014-08-24Better state management for passkeys.Stephen Blott
2014-08-23Allow passing of keys to the underlying page (fix/maintain order of ↵Stephen Blott
exclusion list).
2014-08-23Allow passing of keys to the underlying page (more minor code review).Stephen Blott
2014-08-23Allow passing of keys to the underlying page.Stephen Blott
2014-08-17Only block keyup for keys where we have handled a keyup/press eventmrmr1993
Fixes the issue of Vimium indiscriminately capturing keyup events, introduced in PR #978.
2014-08-16Add comments as to why we should stop propagating the keyup eventPhil Crosby
2014-08-16Merge pull request #978 from tejohnso/masterPhil Crosby
Stop keyup events from passing to the browser
2014-08-05Match mixed-case relationship links in goNext/goPreviousVincent Bernat
Link types are case-insensitive: http://www.w3.org/TR/html5/links.html#linkTypes This should fix #1115.
2014-07-29Replace upgrade notification close x with &timesNatalie Perna
2014-06-30Merge pull request #1026 from mrmr1993/countMatchesPhil Crosby
Show number of matches in find HUD
2014-05-17Remove unnecessary if statementPhil Crosby
2014-05-17Fix options link in help dialogmrmr1993
This makes the options link in the help dialog cancel the default event action, so the link (`href="#"`) isn't followed. The former behaviour was most obvious when using the `LinkHints.activateModeToOpenInNewTab` command, amoung others.
2014-04-19Use RegExp to escape special characters for plain find queriesmrmr1993
2014-04-19Add a comment explaining match counting for string searchesmrmr1993
2014-04-19Implement number of matches in find modemrmr1993
2014-04-16Escape HTML in HUD from searches (fixes #913)mrmr1993
2013-12-15Stop keyup events for Issue 733tejohnso
2013-09-12Changed deprecated chrome.extension on chrome.runtime [Chromium v29] (fixed ↵Maksim Ryzhikov
#908)
2013-08-23Add a todoPhil Crosby
2013-08-22Some events don't have `keyIdentifier`Joey Baker
This was throwing an error for me on some events.
2013-07-20trim then filterUncleBill
2013-05-06Content script should handle message even when there is no tab propertysainaen
2013-05-06Replace all deprecated sendRequest() calls with new sendMessage()sainaen
2013-02-18Renamed to 'goToRoot', condensed functionTimo Sand
2013-02-16Added `gU` command to go to root of page including current port and protocolTimo Sand
2013-01-02Make smartcase locale-aware.Jez Ng
2012-10-30Avoid trapping non-tab keypresses in focusInput mode.Jez Ng
2012-10-29Implement marks.Jez Ng
2012-10-29Convert strings to numbers when saving options page.Jez Ng
This avoids the need to continually re-parse the strings each time we load the option value.
2012-10-29Make the numbers used in the filtered link hints configurable.Jez Ng
Closes #380.
2012-10-29Factor out scrolling code into a new file.Jez Ng
Also fix a bunch of div-scrolling behavior. Closes #486.
2012-10-26Address feedback.Jez Ng
2012-10-23Refactor and fix findAndFollowLink. Closes #650.Jez Ng
* Fix bug where symbols that were themselves word boundaries were not getting matched * Factor out some operations for efficiency * Add tests
2012-10-20Refactor handlerStack. Closes #657.Jez Ng
Previously, handlerStack was designed only for removal of the handler right at the top of the stack. However, some handlers sought to remove themselves when they were not at the top of the stack, creating confusion. The new handlerStack ensures that such removal can always be done safely.
2012-10-20Fix initial selected input hint index.Jez Ng
2012-09-10Add option to make regex find the default. Closes #569.Jez Ng
2012-09-09More lint fixes.Jez Ng
2012-09-08Fix upgrade message. Closes #644.Jez Ng