diff options
| author | Stephen Blott | 2015-05-15 14:11:19 +0100 |
|---|---|---|
| committer | Stephen Blott | 2015-05-15 14:11:19 +0100 |
| commit | 517048005bf82a9d679898f55942bec82643ea76 (patch) | |
| tree | 30fd132532e864c2fb8db4cd38c77ef8e7afcb95 | |
| parent | df187b3f5a00ecc3a4cd0846167e0f1fc5473f90 (diff) | |
| download | vimium-517048005bf82a9d679898f55942bec82643ea76.tar.bz2 | |
Add a couple more useless Google search parameters.
| -rw-r--r-- | background_scripts/completion.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee index 5755bfaf..6ef42f6d 100644 --- a/background_scripts/completion.coffee +++ b/background_scripts/completion.coffee @@ -149,7 +149,7 @@ class Suggestion # Google search specific replacements; this replaces query parameters which are known to not be helpful. # There's some additional information here: http://www.teknoids.net/content/google-search-parameters-2012 [ "^https?://www\.google\.(com|ca|com\.au|co\.uk|ie)/.*[&?]q=" - "ei gws_rd url ved usg sa usg sig2 bih biw cd".split(/\s+/).map (param) -> new RegExp "\&#{param}=[^&]+" ] + "ei gws_rd url ved usg sa usg sig2 bih biw cd aqs ie".split(/\s+/).map (param) -> new RegExp "\&#{param}=[^&]+" ] # General replacements; replaces leading and trailing fluff. [ '.', [ "^https?://", "\\W+$" ].map (re) -> new RegExp re ] |
