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 /options.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 'options.html')
| -rw-r--r-- | options.html | 26 | 
1 files changed, 24 insertions, 2 deletions
| diff --git a/options.html b/options.html index 26d41aa4..8dfd23e8 100644 --- a/options.html +++ b/options.html @@ -84,8 +84,8 @@    $ = function(id) { return document.getElementById(id); };    var defaultSettings = chrome.extension.getBackgroundPage().defaultSettings; -  var editableFields = ["scrollStepSize", "excludedUrls", "linkHintCharacters", -                        "userDefinedLinkHintCss", "keyMappings", "filterLinkHints"]; +  var editableFields = ["scrollStepSize", "excludedUrls", "linkHintCharacters", "userDefinedLinkHintCss", +                        "keyMappings", "filterLinkHints", "previousPatterns", "nextPatterns"];    var canBeEmptyFields = ["excludedUrls", "keyMappings", "userDefinedLinkHintCss"]; @@ -290,6 +290,28 @@            </label>          </td>        </tr> +      <tr class="advancedOption"> +        <td class="caption">Previous Patterns</td> +        <td verticalAlign="top"> +            <div class="help"> +              <div class="example"> +                  Vimium will match against these patterns to navigate to a 'previous' page. +              </div> +            </div> +            <input id="previousPatterns" type="text" style="width:320px" /> +        </td> +      </tr> +      <tr class="advancedOption"> +        <td class="caption">Next Patterns</td> +        <td verticalAlign="top"> +            <div class="help"> +              <div class="example"> +                  Vimium will match against these patterns to navigate to a 'next' page. +              </div> +            </div> +            <input id="nextPatterns" type="text" style="width:320px" /> +        </td> +      </tr>      </table>      <div id="buttonsPanel"> | 
