diff options
| author | Jez Ng | 2012-01-09 20:22:55 +0800 |
|---|---|---|
| committer | Jez Ng | 2012-01-09 20:22:55 +0800 |
| commit | 3b9271aa437df94e307e585f1abf205fd72b71cb (patch) | |
| tree | 706eb0b8d18b5872959a7a0423e1b03cfca01378 /background_page.html | |
| parent | d71706a07bec1056faefeb8ee7aa8b41548189ad (diff) | |
| parent | 9fa2aa4a12f83888d2eab1783d5e3320cfff0f13 (diff) | |
| download | vimium-3b9271aa437df94e307e585f1abf205fd72b71cb.tar.bz2 | |
Merge remote-tracking branch 'daning/master'
Make previous/next-page search patterns configurable.
Note: window.find does not search using a regex, so \b is not a word
delimiter!
Conflicts:
CREDITS
options.html
vimiumFrontend.js
Diffstat (limited to 'background_page.html')
| -rw-r--r-- | background_page.html | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/background_page.html b/background_page.html index 5866ee48..7d8f749d 100644 --- a/background_page.html +++ b/background_page.html @@ -31,7 +31,17 @@ ".vimiumHintMarker {\n\n}\n" + ".vimiumHintMarker > .matchingCharacter {\n\n}", excludedUrls: "http*://mail.google.com/*\n" + - "http*://www.google.com/reader/*\n" + "http*://www.google.com/reader/*\n", + + // NOTE : If a page contains both a single angle-bracket link and a double angle-bracket link, then in + // most cases the single bracket link will be "prev/next page" and the double bracket link will be + // "first/last page", so we put the single bracket first in the pattern string so that it gets searched + // for first. + + // "\bprev\b,\bprevious\b,\bback\b,<,←,«,≪,<<" + previousPatterns: "prev,previous,back,<,\u2190,\xab,\u226a,<<", + // "\bnext\b,\bmore\b,>,→,»,≫,>>" + nextPatterns: "next,more,>,\u2192,\xbb,\u226b,>>", }; // This is the base internal link hints CSS. It's combined with the userDefinedLinkHintCss before |
