diff options
| author | Stephen Blott | 2012-10-21 13:13:07 +0100 |
|---|---|---|
| committer | Stephen Blott | 2012-10-21 13:13:07 +0100 |
| commit | 25ebcf13c2510c20caa52d230abbb29a3e91459b (patch) | |
| tree | 7eafd864a2208b7459537ce4e9a6334dccfaed11 /options | |
| parent | ac67f18dc08174b0460df94151e09ec21a6b56c9 (diff) | |
| download | vimium-25ebcf13c2510c20caa52d230abbb29a3e91459b.tar.bz2 | |
Configurable vomnibox default/fallback search engine.
Diffstat (limited to 'options')
| -rw-r--r-- | options/options.coffee | 5 | ||||
| -rw-r--r-- | options/options.html | 14 |
2 files changed, 17 insertions, 2 deletions
diff --git a/options/options.coffee b/options/options.coffee index 27b08e38..078a931d 100644 --- a/options/options.coffee +++ b/options/options.coffee @@ -2,8 +2,9 @@ $ = (id) -> document.getElementById id bgSettings = chrome.extension.getBackgroundPage().Settings -editableFields = ["scrollStepSize", "excludedUrls", "linkHintCharacters", "userDefinedLinkHintCss", - "keyMappings", "filterLinkHints", "previousPatterns", "nextPatterns", "hideHud", "regexFindMode"] +editableFields = [ "scrollStepSize", "excludedUrls", "linkHintCharacters", + "userDefinedLinkHintCss", "keyMappings", "filterLinkHints", "previousPatterns", + "nextPatterns", "hideHud", "regexFindMode", "defaultSearchUrl"] canBeEmptyFields = ["excludedUrls", "keyMappings", "userDefinedLinkHintCss"] diff --git a/options/options.html b/options/options.html index d7851c75..ef1267cc 100644 --- a/options/options.html +++ b/options/options.html @@ -123,6 +123,9 @@ input#previousPatterns, input#nextPatterns { width: 100%; } + input#defaultSearchUrl { + width: 100%; + } #status { margin-left: 10px; font-size: 80%; @@ -308,6 +311,17 @@ unmapAll <input id="nextPatterns" type="text" /> </td> </tr> + <tr class="advancedOption"> + <td class="caption">Default Search</td> + <td verticalAlign="top"> + <div class="help"> + <div class="example"> + Vomnibar fall back URL/search engine if nothing else matches (examples: "http://duckduckgo.com/?q=", "http://www.google.com/search?q="). + </div> + </div> + <input id="defaultSearchUrl" type="text" /> + </td> + </tr> </table> <div id="buttonsPanel"> |
