]> git.gir.st - VimFx.git/log
VimFx.git
9 years agoEnhance marker frame handling
Simon Lydell [Sat, 16 Aug 2014 15:54:35 +0000 (17:54 +0200)]
Enhance marker frame handling

Previously the frame elements themselves were required to get a marker
in order to make markers for any elements inside the frame, which was
pretty confusing. Now all frames visible in the viewport are gone
through to add markers their elements.

9 years agoImprove marker generation performance
Simon Lydell [Sat, 2 Aug 2014 14:01:36 +0000 (16:01 +0200)]
Improve marker generation performance

`getFirstNonCoveredPoint` used to recursively search the rect of an
element until it found a non-covered point. This works well most of the
time, but on some sites (such as prisjakt.se) it took way too much time.

Moreover, this technique required some CSS to be reset in a few special
cases, which is very costly performance-wise. It is also brittle and
makes the code unnecessarily complex.

Lastly, there was a bug in the algorithm that caused uncaught exceptions
sometimes (such as on youtube.com).

Now we use a much simpler approach instead.

`getFirstNonCoveredPoint` tries 6 different points of the element:

    +-------------------------------+
    |1 left-top          right-top 4|
    |                               |
    |2 left-middle    right-middle 5|
    |                               |
    |3 left-bottom    right-bottom 6|
    +-------------------------------+

If all of those are covered (or are reported as covered because of one
of the CSS special cases we used to reset) then the whole element is
simply considered to be covered. This seems to work really well.

The above means that the markers can now be placed at any of the points
in the above figure.

The result is much faster, simpler and more robust.

10 years agoHandle a `line-height` special case
Simon Lydell [Sun, 15 Jun 2014 19:22:41 +0000 (21:22 +0200)]
Handle a `line-height` special case

Consider the following HTML:

    <p><a href=#>Link text</a></p>

And the following CSS:

    p {
      line-height: 20px;
      font-size: 20px;
      overflow: hidden;
    }
    a {
      font-size: 80px;
    }

Result, with the rectangles of the elements drawn:

    +---------+
    |         |
    |---------+-----------+
    |Link text|           |
    |---------------------+
    |         |
    +---------+

The wide rectangle belongs to the `<p>` while the other belongs to the
`<a>`. The top and bottom part of the `<a>` rectangle, outside of the
`<p>` rectangle (because the `font-size` of `<a>` is larger than the
`line-height`), are hidden due to `overflow: hidden;`.
`document.elementFromPoint()` will only return `<a>` in the area covered
by both rectangles. That is a problem since we start looking at the
top-left corner of the `<a>` rectangle, which will return whatever is
behind.

The solution is to add `line-height: normal;` temporarily to `<a>`,
causing the following (with a comparison to the right):

                               /    +---------+
                               /    |         |
    +---------------------+    /    |---------+-----------+
    |Link text            |    /    |Link text|           |
    |                     |    /    |---------------------+
    |                     |    /    |         |
    |                     |    /    +---------+
    |                     |    /
    +---------------------+    /

This way we can get the correct coordinates, but we only do it as a last
resort, since it is a performance expensive operation.

10 years agoBetter handling of pseudo-elements
Simon Lydell [Sun, 15 Jun 2014 17:22:39 +0000 (19:22 +0200)]
Better handling of pseudo-elements

10 years agoImprove code readability
Simon Lydell [Mon, 2 Jun 2014 19:13:44 +0000 (21:13 +0200)]
Improve code readability

10 years agoAdd hints to elements with only floated/absolute children
Simon Lydell [Sun, 1 Jun 2014 14:33:56 +0000 (16:33 +0200)]
Add hints to elements with only floated/absolute children

Commit a3cb61bf:

> - We used to take care of the case where markable elements have no area
>   since all of the children are floated and/or absolutely positioned.
>   For performance I’ve removed that. Let’s re-add it if we find some
>   website that needs it. The old implementation used the computed style
>   for this, which has turned out to be really slow.

Since then I _have_ found such cases. A link in a menu could contain a
span of text floated to the left and an icon floated to the right.

So I’ve re-added support. Best of all, with better performance than the
old implementation; computed style is _not_ used.

It turns out that if the width _and_ the height of an element is 0 (thus
making the area 0, too) it is really hidden. But if only one of the
width and height is 0 (also making the area 0), then it is because
everything inside it is floated and/or absolutely positioned (and that
`element` hasn’t been made to “contain” the floats). Then there’s no
need to check any computed style. Just recursively test each child until
a visible one is found and return its shape instead of the parent.

The reasoning behind choosing the first visible child is as follows:

- It’s the best bet for the cases with menu items I found. We want the
  marker at the beginning of the menu item. The text spans, floated to
  the left, are likely the first children.

- We _could_ add the same hint to _all_ the visible children. But that’s
  a bad idea for a couple of reasons:

  - It would be inconsistent with all other elements. Even elements with
    an area can contain floated elements, which are also clickable. But
    those do not get any hints. (It would be too expensive
    performance-wise to give them hints, for no real benefit.) Therefore
    we shouldn’t do it in this case either.
  - In the found cases with menu items we only want _one_ hint, for the
    whole menu item. We should optimize for the likely cases.
  - It would be unnecessarily complex and slow.

10 years agoImprove marker generation. Fix #325.
Simon Lydell [Fri, 30 May 2014 09:29:36 +0000 (11:29 +0200)]
Improve marker generation. Fix #325.

- Elements covered by other elements do no longer get hints. This makes
  it easier to use drop-down menus when there are lots of links behind
  it.

- Elements partly outside the screen now get hints, too.

- Partly covered elements get hints, too. The hint is placed in the
  first non-covered point of the element.

- Line-wrapped links now get their hint in a better place. This is
  easiest to explain with a picture. # = old hint location, * = new hint
  location (approximately)

  #---------+
  |   *Line-|
  |wrapped  |
  +---------+

  Such links also used to count the whole of that box as its area. Now
  only the actual text is counted, giving the marker a more fair weight.

- We used to take care of the case where markable elements have no area
  since all of the children are floated and/or absolutely positioned.
  For performance I’ve removed that. Let’s re-add it if we find some
  website that needs it. The old implementation used the computed style
  for this, which has turned out to be really slow.

- We used to check if elements were hidden with CSS (if `opacity: 0;` or
  `visibility: hidden;`), but we don’t anymore, since it noticeably
  slows down the marker creation (checking computed styles is slow). It
  does not appear to be necessary anymore. It was added to fix #164, but
  the problems there now seem fixed even without this check.

- The code should be more documented now than before.

- The performance is better than before. It does not seem like the new
  algorithms are slower. And since I’ve removed two slow areas, it might
  be a little faster.

10 years agoRaise the z-indexes used to trump youtube
Simon Lydell [Sun, 25 May 2014 20:15:41 +0000 (22:15 +0200)]
Raise the z-indexes used to trump youtube

Youtube uses 1999999999 as z-index for its top bar, which is a lot
higher than VimFx used for the help dialog and markers. This caused the
top bar to overlap the help dialog, and, more importantly, the markers,
making it impossible to see the marker for the search box, for example.

This commit raises VimFx’s z-indexes to trump Youtube.

10 years agoCleanup CSS a bit
Simon Lydell [Sun, 25 May 2014 20:02:22 +0000 (22:02 +0200)]
Cleanup CSS a bit

10 years agoRemove old VimFxFindInput CSS
Simon Lydell [Sun, 25 May 2014 19:58:01 +0000 (21:58 +0200)]
Remove old VimFxFindInput CSS

10 years agoImprove contenteditable detection
Simon Lydell [Sun, 25 May 2014 17:00:46 +0000 (19:00 +0200)]
Improve contenteditable detection

10 years agoBump minimum Firefox version (see #314)
Simon Lydell [Fri, 16 May 2014 19:16:56 +0000 (21:16 +0200)]
Bump minimum Firefox version (see #314)

10 years agoSlightly improve markable element matching
Simon Lydell [Fri, 16 May 2014 18:49:38 +0000 (20:49 +0200)]
Slightly improve markable element matching

- Only `<a>` elements with a `href` attribute should be matched, since
  HTML5 allows `<a>` elements to omit `href`:

  > If the a element has no href attribute, then the element represents
  > a placeholder for where a link might otherwise have been placed, if
  > it had been relevant, consisting of just the element's contents.

  Reference:
  <http://developers.whatwg.org/text-level-semantics.html#the-a-element>

- Elements with the `tabindex` attribute should be matched, but not
  `tabindex=-1`, which means explicitly saying that the element should
  _not_ be focusable.

10 years agoLet the Esc command close tab groups
Simon Lydell [Fri, 16 May 2014 18:42:31 +0000 (20:42 +0200)]
Let the Esc command close tab groups

Since commit 1fd30eca9 makes opening the tab groups view (ctrl-shift-e)
about the same as focusing a text input (passing all key strokes to the
browser), the Esc command must be able to exit from it.

10 years agoFix #280: Use `[rel]` for prev/next link matching
Simon Lydell [Fri, 16 May 2014 18:26:16 +0000 (20:26 +0200)]
Fix #280: Use `[rel]` for prev/next link matching

The standard way of marking up the previous or next page of a series is
to use a `<link>` or `<a>` element with a `rel` attribute.

We don’t bother with `<link>`s since the commands are substitutes for
clicking a visible element. (And at least in my experience, they’re not
commonly used.) Moreover, if there’s a `<link>` with a `rel` attribute,
there’s likely a corresponding `<a>`, too.

We first try to find a nicely marked up link, then we fall back on
pattern matching of the text contents of the links.

The spec on the `rel` attribute:
<http://www.w3.org/TR/html5/links.html#linkTypes>

How Google handles it:
<https://support.google.com/webmasters/answer/1663744?hl=en>

This commit is based on #313 by @zhuochun.

10 years agoExpose xpath utils
Simon Lydell [Tue, 13 May 2014 19:14:35 +0000 (21:14 +0200)]
Expose xpath utils

Previously xpath usage was closely tied to the `getMarkableElements`
function.

10 years agoFix #318: Support Tab Groups
Simon Lydell [Tue, 13 May 2014 19:40:54 +0000 (21:40 +0200)]
Fix #318: Support Tab Groups

Just like when a text input is focused, send all keys to the browser.
This allows you to type the name of a tab to select it. Moreover,
commands doesn’t make sense when Tab Groups is opened, since they affect
the current tab, which is hidden _behind_ Tab Groups, out of view!

10 years agoFix #310: Broken focus search bar command
Simon Lydell [Thu, 8 May 2014 19:14:58 +0000 (21:14 +0200)]
Fix #310: Broken focus search bar command

10 years agoAdd missing parenthesis
Simon Lydell [Thu, 8 May 2014 17:37:19 +0000 (19:37 +0200)]
Add missing parenthesis

10 years agoMerge pull request #312 from zhuochun/bug-263-can-add-blank-hotkey
Simon Lydell [Thu, 8 May 2014 16:38:53 +0000 (18:38 +0200)]
Merge pull request #312 from zhuochun/bug-263-can-add-blank-hotkey

Fix #263 can add blank hotkey

10 years agoclean up code around conflict_cmd
Wang Zhuochun [Wed, 7 May 2014 19:13:55 +0000 (03:13 +0800)]
clean up code around conflict_cmd

10 years agoignore empty cmd value
Wang Zhuochun [Wed, 7 May 2014 19:13:28 +0000 (03:13 +0800)]
ignore empty cmd value

10 years ago0.5.10 vesion bump and changelog update v0.5.10
Anton Khodakivskiy [Wed, 7 May 2014 17:20:18 +0000 (10:20 -0700)]
0.5.10 vesion bump and changelog update

10 years agoFix bug when loading default preferences
Anton Khodakivskiy [Wed, 7 May 2014 17:18:55 +0000 (10:18 -0700)]
Fix bug when loading default preferences

10 years agoUpdate 0.5.9 changelog to mention gg/G speedup fix
Simon Lydell [Mon, 5 May 2014 18:54:43 +0000 (20:54 +0200)]
Update 0.5.9 changelog to mention gg/G speedup fix

10 years agoAdded all historic builds
Anton Khodakivskiy [Mon, 5 May 2014 06:05:56 +0000 (23:05 -0700)]
Added all historic builds

10 years agoMerge branch 'develop' 0.5.9
Anton Khodakivskiy [Mon, 5 May 2014 05:59:14 +0000 (22:59 -0700)]
Merge branch 'develop'

10 years agoMerge branch 'develop' of github.com:akhodakivskiy/VimFx into develop
Anton Khodakivskiy [Mon, 5 May 2014 05:56:26 +0000 (22:56 -0700)]
Merge branch 'develop' of github.com:akhodakivskiy/VimFx into develop

10 years agoMerge branch 'release-0.5.9'
Anton Khodakivskiy [Mon, 5 May 2014 05:54:10 +0000 (22:54 -0700)]
Merge branch 'release-0.5.9'

10 years agoversion bump and changelog update
Anton Khodakivskiy [Mon, 5 May 2014 05:53:22 +0000 (22:53 -0700)]
version bump and changelog update

10 years agoFixed default properties
Anton Khodakivskiy [Mon, 5 May 2014 05:51:32 +0000 (22:51 -0700)]
Fixed default properties

10 years agoPut commands in the same order as the `commands` array
Simon Lydell [Wed, 30 Apr 2014 18:24:42 +0000 (20:24 +0200)]
Put commands in the same order as the `commands` array

10 years agoUpdate `command_insert_mode`
Simon Lydell [Wed, 30 Apr 2014 18:14:54 +0000 (20:14 +0200)]
Update `command_insert_mode`

10 years agoUpdate move tab commands
Simon Lydell [Wed, 30 Apr 2014 18:13:04 +0000 (20:13 +0200)]
Update move tab commands

10 years agoUpdate `command_restore_tab`
Simon Lydell [Wed, 30 Apr 2014 16:23:29 +0000 (18:23 +0200)]
Update `command_restore_tab`

10 years agoUpdate `command_back` and `command_forward`
Simon Lydell [Wed, 30 Apr 2014 16:11:59 +0000 (18:11 +0200)]
Update `command_back` and `command_forward`

10 years agoUpdate `command_tab_first` and `command_tab_last`
Simon Lydell [Wed, 30 Apr 2014 16:08:14 +0000 (18:08 +0200)]
Update `command_tab_first` and `command_tab_last`

10 years agoUpdate `command_home`
Simon Lydell [Wed, 30 Apr 2014 16:02:29 +0000 (18:02 +0200)]
Update `command_home`

10 years agoUpdate `command_tab_prev` and `command_tab_next`
Simon Lydell [Wed, 30 Apr 2014 15:56:43 +0000 (17:56 +0200)]
Update `command_tab_prev` and `command_tab_next`

10 years agoFix #189: Speed up scoll to top/bottom commands
Simon Lydell [Tue, 29 Apr 2014 18:33:26 +0000 (20:33 +0200)]
Fix #189: Speed up scoll to top/bottom commands

10 years agoUpdate stop commands
Simon Lydell [Tue, 29 Apr 2014 18:25:30 +0000 (20:25 +0200)]
Update stop commands

10 years agoUpdate reload commands
Simon Lydell [Tue, 29 Apr 2014 18:20:04 +0000 (20:20 +0200)]
Update reload commands

10 years agoUpdate `command_marker_yank` and `command_yank`
Simon Lydell [Tue, 29 Apr 2014 19:29:57 +0000 (21:29 +0200)]
Update `command_marker_yank` and `command_yank`

Conflicts:

extension/packages/utils.coffee

10 years agoUpdate `command_open_tab`
Simon Lydell [Tue, 29 Apr 2014 17:39:07 +0000 (19:39 +0200)]
Update `command_open_tab`

10 years agoUpdate `command_paste` and `command_paste_tab`
Simon Lydell [Tue, 29 Apr 2014 17:37:51 +0000 (19:37 +0200)]
Update `command_paste` and `command_paste_tab`

10 years agoUpdate `command_focus_search`
Simon Lydell [Tue, 29 Apr 2014 15:57:03 +0000 (17:57 +0200)]
Update `command_focus_search`

10 years agoUpdate `command_focus`
Simon Lydell [Tue, 29 Apr 2014 15:54:09 +0000 (17:54 +0200)]
Update `command_focus`

10 years agoUpdate `command_dev`
Simon Lydell [Tue, 29 Apr 2014 15:49:49 +0000 (17:49 +0200)]
Update `command_dev`

10 years agoAdd `Vim::rootWindow` for convenience
Simon Lydell [Mon, 28 Apr 2014 19:14:44 +0000 (21:14 +0200)]
Add `Vim::rootWindow` for convenience

10 years agoRemove the `storage` parameter for commands
Simon Lydell [Mon, 28 Apr 2014 18:40:22 +0000 (20:40 +0200)]
Remove the `storage` parameter for commands

None used it.

10 years ago0.5.8 version bump 0.5.8
Anton Khodakivskiy [Sat, 19 Apr 2014 00:20:26 +0000 (17:20 -0700)]
0.5.8 version bump

10 years agoMerge pull request #290 from cbertoldi/master
Anton Khodakivskiy [Wed, 5 Mar 2014 19:58:44 +0000 (11:58 -0800)]
Merge pull request #290 from cbertoldi/master

Added italian translation.

10 years agoAdded localization.
Carlo Bertoldi [Wed, 5 Mar 2014 19:55:24 +0000 (20:55 +0100)]
Added localization.

10 years agoAdded italian translation.
Carlo Bertoldi [Wed, 5 Mar 2014 19:20:55 +0000 (20:20 +0100)]
Added italian translation.

10 years agoMerge branch 'release-0.5.7' 0.5.7
Anton Khodakivskiy [Mon, 3 Mar 2014 18:40:35 +0000 (10:40 -0800)]
Merge branch 'release-0.5.7'

10 years agohotfix release. version bump and changelog update
Anton Khodakivskiy [Mon, 3 Mar 2014 18:40:18 +0000 (10:40 -0800)]
hotfix release. version bump and changelog update

10 years agoMerge branch 'master' into develop
Anton Khodakivskiy [Mon, 3 Mar 2014 18:34:55 +0000 (10:34 -0800)]
Merge branch 'master' into develop

10 years agoBug fixes
Anton Khodakivskiy [Mon, 3 Mar 2014 18:34:23 +0000 (10:34 -0800)]
Bug fixes

10 years agoMerge pull request #287 from mozillazg/zh-CN
Anton Khodakivskiy [Mon, 3 Mar 2014 05:16:07 +0000 (21:16 -0800)]
Merge pull request #287 from mozillazg/zh-CN

Update zh-CN localization

10 years agoUpdate zh-CN localization
Mozillazg [Sun, 2 Mar 2014 06:59:29 +0000 (14:59 +0800)]
Update zh-CN localization

10 years agoMerge branch 'develop'
Anton Khodakivskiy [Wed, 26 Feb 2014 21:55:11 +0000 (13:55 -0800)]
Merge branch 'develop'

10 years agoMerge branch 'release-0.5.6' into develop
Anton Khodakivskiy [Wed, 26 Feb 2014 21:52:47 +0000 (13:52 -0800)]
Merge branch 'release-0.5.6' into develop

10 years agoMerge branch 'release-0.5.6' 0.5.6
Anton Khodakivskiy [Wed, 26 Feb 2014 21:51:50 +0000 (13:51 -0800)]
Merge branch 'release-0.5.6'

10 years agoVersion bump, changelog update, bump max version to 29
Anton Khodakivskiy [Wed, 26 Feb 2014 21:51:07 +0000 (13:51 -0800)]
Version bump, changelog update, bump max version to 29

10 years agoFixed mistake in next/prev patterns
Anton Khodakivskiy [Wed, 26 Feb 2014 21:45:37 +0000 (13:45 -0800)]
Fixed mistake in next/prev patterns

10 years agoMerge branch 'develop' of github.com:akhodakivskiy/VimFx into develop
Anton Khodakivskiy [Wed, 26 Feb 2014 21:39:56 +0000 (13:39 -0800)]
Merge branch 'develop' of github.com:akhodakivskiy/VimFx into develop

10 years agoMerge pull request #273 from akhodakivskiy/prevent-autofocus
Anton Khodakivskiy [Wed, 26 Feb 2014 21:39:43 +0000 (13:39 -0800)]
Merge pull request #273 from akhodakivskiy/prevent-autofocus

Prevent autofocus

10 years agoPrevent autofocus by blurring the input if it's been focused in the first second...
Anton Khodakivskiy [Mon, 3 Feb 2014 17:14:51 +0000 (09:14 -0800)]
Prevent autofocus by blurring the input if it's been focused in the first second after loading is finished

10 years agoWorkaround for command shortcuts that start with letter c
Anton Khodakivskiy [Wed, 26 Feb 2014 21:36:32 +0000 (13:36 -0800)]
Workaround for command shortcuts that start with letter c

10 years agoMerge pull request #285 from sirodoht/develop
Anton Khodakivskiy [Wed, 26 Feb 2014 20:13:05 +0000 (12:13 -0800)]
Merge pull request #285 from sirodoht/develop

Update Greek localization

10 years agoUpdate Greek localization
Theodore Keloglou [Sun, 23 Feb 2014 16:17:47 +0000 (18:17 +0200)]
Update Greek localization

10 years agoMerge pull request #264 from lydell/zhuochun-enhance-follow-link
Simon Lydell [Tue, 18 Feb 2014 20:14:26 +0000 (21:14 +0100)]
Merge pull request #264 from lydell/zhuochun-enhance-follow-link

Refactor follow prev/next links (supersedes #260)

10 years agoRefactor follow prev/next links
Simon Lydell [Sun, 26 Jan 2014 14:21:07 +0000 (15:21 +0100)]
Refactor follow prev/next links

- Simplified everything.
- Made it more DRY.
- Patterns can include the * and ! wildcards, just like the black list.
- Patterns must match either at the beginning or at the end of the link
  text.
- Patterns don’t match in the middle of words. Works with non-English
  characters too.

10 years agoMerge pull request #279 from cyberrob/develop
Anton Khodakivskiy [Tue, 11 Feb 2014 07:05:24 +0000 (23:05 -0800)]
Merge pull request #279 from cyberrob/develop

Develop

10 years agoFix a translation error in zh-CN
robertwang [Mon, 10 Feb 2014 05:10:52 +0000 (13:10 +0800)]
Fix a translation error in zh-CN

10 years agoAdd zh-TW locale for vimFx. Also modify some zh-CN translations.
robertwang [Mon, 10 Feb 2014 05:08:58 +0000 (13:08 +0800)]
Add zh-TW locale for vimFx. Also modify some zh-CN translations.

10 years agoMerge pull request #265 from lydell/better-passthrough
Anton Khodakivskiy [Tue, 28 Jan 2014 19:13:41 +0000 (11:13 -0800)]
Merge pull request #265 from lydell/better-passthrough

Re-implement popup passthrough more robustly

10 years agoImprove popup passthrough check performance
Simon Lydell [Tue, 28 Jan 2014 18:52:29 +0000 (19:52 +0100)]
Improve popup passthrough check performance

Commit 468ed83 sure made the popup passthrough check more robust.
However, querying for all popups (hundreds) and looping them through on
each keypress is not optimal for performance. The solution? Use the best
of both of the old and new passthrough check.

Looking back, the issue with the old event-based passthrough check was
not that passthrough sometimes wasn’t triggered. It was that passthrough
sometimes got stuck, effectively disabling the extension. So it is not
the 'popupshowing' event that is unreliable, it is the 'popuphidden'
event. So we now use the events for toggling passthrough mode, just like
before. But when `popupPassthrough == true`, we don’t trust it. Then we
loop through all popups to see if any of them actually is open. This
means that it is only when a popup (might) be open that we use the more
expensive check, which is a good tradeoff. Even then, you probably won’t
even notice a lag or anything.

10 years agoRe-implement popup passthrough more robustly
Simon Lydell [Sun, 26 Jan 2014 15:58:55 +0000 (16:58 +0100)]
Re-implement popup passthrough more robustly

Commit 35f48d24bf5c broke popup passthrough a bit, unfortunately. It
works for the context menu, but not for the menu bar.

It is time to ditch the unreliable onpopupshowing/onpopuphiding and
checking properties on root windows for determining if popups are open.

Now we simply just loop through all menupopups and panels and check if
any of them are open. If so, don’t do anything. Otherwise, proceed as
normal.

10 years agoMerge branch 'enhance-follow-link' of https://github.com/zhuochun/VimFx into zhuochun...
Simon Lydell [Sun, 26 Jan 2014 10:39:55 +0000 (11:39 +0100)]
Merge branch 'enhance-follow-link' of https://github.com/zhuochun/VimFx into zhuochun-enhance-follow-link

10 years agoMerge pull request #219 from lydell/simpler-dom
Simon Lydell [Sat, 25 Jan 2014 15:58:29 +0000 (07:58 -0800)]
Merge pull request #219 from lydell/simpler-dom

Simplify DOM manipulations

10 years agoUse `.classList.toggle()`
Simon Lydell [Sat, 25 Jan 2014 15:53:33 +0000 (16:53 +0100)]
Use `.classList.toggle()`

Instead of `.classList[method]()`. Much nicer.

10 years agoupdate comments and shorten code
Wang Zhuochun [Wed, 22 Jan 2014 08:26:03 +0000 (16:26 +0800)]
update comments and shorten code

10 years agoupdate default prev/next pref
Wang Zhuochun [Tue, 21 Jan 2014 08:59:36 +0000 (16:59 +0800)]
update default prev/next pref

10 years agouse regexp and pattern order
Wang Zhuochun [Tue, 21 Jan 2014 08:46:31 +0000 (16:46 +0800)]
use regexp and pattern order

10 years agoenhance next/prev follow link
Wang Zhuochun [Tue, 21 Jan 2014 07:05:04 +0000 (15:05 +0800)]
enhance next/prev follow link

10 years agoAnother character for next/prev navigation
Anton Khodakivskiy [Wed, 15 Jan 2014 17:56:01 +0000 (09:56 -0800)]
Another character for next/prev navigation

10 years agoPrevent matching wrong next/prev links (containing random `next`, `more` words)
Anton Khodakivskiy [Sun, 12 Jan 2014 02:32:09 +0000 (18:32 -0800)]
Prevent matching wrong next/prev links (containing random `next`, `more` words)

10 years agoCloses #252. Fixed cases where VimFx steals keys from focused XUL menulist
Anton Khodakivskiy [Sun, 12 Jan 2014 01:10:47 +0000 (17:10 -0800)]
Closes #252. Fixed cases where VimFx steals keys from focused XUL menulist

10 years agoAdded a few mode arrows to the pagination patterns. Closes #254
Anton Khodakivskiy [Sun, 12 Jan 2014 00:44:12 +0000 (16:44 -0800)]
Added a few mode arrows to the pagination patterns. Closes #254

10 years agoMerge pull request #250 from akhodakivskiy/prefs-refactor
Anton Khodakivskiy [Sun, 12 Jan 2014 00:33:36 +0000 (16:33 -0800)]
Merge pull request #250 from akhodakivskiy/prefs-refactor

Refactor preferences

10 years agodefaults.js
Anton Khodakivskiy [Mon, 6 Jan 2014 14:23:22 +0000 (16:23 +0200)]
defaults.js

10 years agoRefactor preferences defaults, prepare for enabling preferences sync
Anton Khodakivskiy [Mon, 6 Jan 2014 14:22:06 +0000 (16:22 +0200)]
Refactor preferences defaults, prepare for enabling preferences sync

10 years agoMerge branch 'master' into develop
Anton Khodakivskiy [Fri, 3 Jan 2014 17:40:30 +0000 (19:40 +0200)]
Merge branch 'master' into develop

10 years agoRemoved docs as unnecessary and outdated
Anton Khodakivskiy [Fri, 3 Jan 2014 17:40:21 +0000 (19:40 +0200)]
Removed docs as unnecessary and outdated

10 years agoMerge branch 'master' into develop
Anton Khodakivskiy [Fri, 3 Jan 2014 17:09:46 +0000 (19:09 +0200)]
Merge branch 'master' into develop

10 years agoREADME.md update
Anton Khodakivskiy [Fri, 3 Jan 2014 17:09:36 +0000 (19:09 +0200)]
README.md update

10 years agoMerge branch 'develop' into simpler-dom
Simon Lydell [Fri, 3 Jan 2014 17:03:13 +0000 (18:03 +0100)]
Merge branch 'develop' into simpler-dom

Conflicts:
extension/packages/button.coffee
extension/packages/find.coffee

10 years agoMerge branch 'release-0.5.5' into develop
Anton Khodakivskiy [Fri, 3 Jan 2014 16:47:25 +0000 (18:47 +0200)]
Merge branch 'release-0.5.5' into develop

10 years agoMerge branch 'release-0.5.5' 0.5.5
Anton Khodakivskiy [Fri, 3 Jan 2014 16:46:56 +0000 (18:46 +0200)]
Merge branch 'release-0.5.5'

Imprint / Impressum