aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Beitey2017-08-31 11:45:53 +1000
committerDavid Beitey2017-08-31 11:45:53 +1000
commit684d118683e1c923877a218f925610eaa8b910eb (patch)
tree2f68ef21b915cb98481e05c934f6c0b620f98549
parent5024d44910048d39888ecb1f22709365fbc85ba0 (diff)
downloadvimium-684d118683e1c923877a218f925610eaa8b910eb.tar.bz2
Update URLs to HTTPS in code, pages and docs
Updating URLs to use HTTPS provides greater privacy and reduces the potential of having content modified whilst in transit (as it happening more and more by ISPs, networks, state actors etc). These URLs themselves have been tested and confirmed to work over HTTPS.
-rw-r--r--CONTRIBUTING.md6
-rw-r--r--README.md2
-rw-r--r--background_scripts/completion_engines.coffee20
-rw-r--r--background_scripts/completion_search.coffee2
-rw-r--r--lib/settings.coffee10
-rw-r--r--pages/help_dialog.html2
-rw-r--r--pages/options.html2
7 files changed, 22 insertions, 22 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 27db315c..61c32456 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -3,7 +3,7 @@
You'd like to fix a bug or implement a feature? Great! Check out the bugs on our issues tracker, or implement
one of the suggestions there that have been tagged "help wanted". If you have a suggestion of your own, start
a discussion on the issues tracker or on the
-[mailing list](http://groups.google.com/group/vimium-dev?hl=en). If it mirrors a similar feature in another
+[mailing list](https://groups.google.com/group/vimium-dev?hl=en). If it mirrors a similar feature in another
browser or in Vim itself, let us know. Once you've picked something to work on, add a comment to the
respective issue so others don't duplicate your effort.
@@ -37,7 +37,7 @@ Our tests use [shoulda.js](https://github.com/philc/shoulda.js) and [PhantomJS](
1. `git submodule update --init --recursive` -- this pulls in shoulda.js.
1. Install [PhantomJS](http://phantomjs.org/download.html).
- 1. `npm install path@0.11` to install the [Node.js Path module](http://nodejs.org/api/path.html), used by the test runner.
+ 1. `npm install path@0.11` to install the [Node.js Path module](https://nodejs.org/api/path.html), used by the test runner.
1. `npm install util` to install the [util module](https://www.npmjs.com/package/util), used by the tests.
1. `cake build` to compile `*.coffee` to `*.js`
1. `cake test` to run the tests.
@@ -47,7 +47,7 @@ Our tests use [shoulda.js](https://github.com/philc/shoulda.js) and [PhantomJS](
You can find out which portions of code need them by looking at our coverage reports. To generate these
reports:
- 1. Download [JSCoverage](http://siliconforks.com/jscoverage/download.html) or `brew install jscoverage`
+ 1. Download [JSCoverage](https://siliconforks.com/jscoverage/download.html) or `brew install jscoverage`
1. `npm install temp`
1. `cake coverage` will generate a coverage report in the form of a JSON file (`jscoverage.json`), which can
then be viewed using [jscoverage-report](https://github.com/int3/jscoverage-report). See
diff --git a/README.md b/README.md
index e3aec754..d4a141dc 100644
--- a/README.md
+++ b/README.md
@@ -461,7 +461,7 @@ Changes in git (not yet released)
- Arrow keys and function keys can now be mapped using <left>, <right>, <up>, <down>,
<f1>, <f2>, etc. in the mappings interface.
- There is a new command `goUp` (mapped to `gu` by default) that will go up one level in the URL hierarchy.
- For example: from http://vimium.github.com/foo/bar to http://vimium.github.com/foo. At the moment, `goUp`
+ For example: from https://vimium.github.io/foo/bar to https://vimium.github.io/foo. At the moment, `goUp`
does not support command repetition.
- Bug fixes and optimizations.
diff --git a/background_scripts/completion_engines.coffee b/background_scripts/completion_engines.coffee
index 5ec24ed6..caff9cff 100644
--- a/background_scripts/completion_engines.coffee
+++ b/background_scripts/completion_engines.coffee
@@ -47,17 +47,17 @@ class GoogleXMLBaseEngine extends BaseEngine
class Google extends GoogleXMLBaseEngine
constructor: () ->
super
- engineUrl: "http://suggestqueries.google.com/complete/search?ss_protocol=legace&client=toolbar&q=%s"
+ engineUrl: "https://suggestqueries.google.com/complete/search?ss_protocol=legace&client=toolbar&q=%s"
regexps: "^https?://[a-z]+\\.google\\.(com|ie|co\\.uk|ca|com\\.au)/"
example:
- searchUrl: "http://www.google.com/search?q=%s"
+ searchUrl: "https://www.google.com/search?q=%s"
keyword: "g"
class GoogleMaps extends GoogleXMLBaseEngine
prefix: "map of "
constructor: () ->
super
- engineUrl: "http://suggestqueries.google.com/complete/search?ss_protocol=legace&client=toolbar&q=#{@prefix.split(' ').join '+'}%s"
+ engineUrl: "https://suggestqueries.google.com/complete/search?ss_protocol=legace&client=toolbar&q=#{@prefix.split(' ').join '+'}%s"
regexps: "^https?://[a-z]+\\.google\\.(com|ie|co\\.uk|ca|com\\.au)/maps"
example:
searchUrl: "https://www.google.com/maps?q=%s"
@@ -77,10 +77,10 @@ class GoogleMaps extends GoogleXMLBaseEngine
class Youtube extends GoogleXMLBaseEngine
constructor: ->
super
- engineUrl: "http://suggestqueries.google.com/complete/search?client=youtube&ds=yt&xml=t&q=%s"
+ engineUrl: "https://suggestqueries.google.com/complete/search?client=youtube&ds=yt&xml=t&q=%s"
regexps: "^https?://[a-z]+\\.youtube\\.com/results"
example:
- searchUrl: "http://www.youtube.com/results?search_query=%s"
+ searchUrl: "https://www.youtube.com/results?search_query=%s"
keyword: "y"
class Wikipedia extends BaseEngine
@@ -89,7 +89,7 @@ class Wikipedia extends BaseEngine
engineUrl: "https://en.wikipedia.org/w/api.php?action=opensearch&format=json&search=%s"
regexps: "^https?://[a-z]+\\.wikipedia\\.org/"
example:
- searchUrl: "http://www.wikipedia.org/w/index.php?title=Special:Search&search=%s"
+ searchUrl: "https://www.wikipedia.org/w/index.php?title=Special:Search&search=%s"
keyword: "w"
parse: (xhr) -> JSON.parse(xhr.responseText)[1]
@@ -97,7 +97,7 @@ class Wikipedia extends BaseEngine
class Bing extends BaseEngine
constructor: ->
super
- engineUrl: "http://api.bing.com/osjson.aspx?query=%s"
+ engineUrl: "https://api.bing.com/osjson.aspx?query=%s"
regexps: "^https?://www\\.bing\\.com/search"
example:
searchUrl: "https://www.bing.com/search?q=%s"
@@ -111,7 +111,7 @@ class Amazon extends BaseEngine
engineUrl: "https://completion.amazon.com/search/complete?method=completion&search-alias=aps&client=amazon-search-ui&mkt=1&q=%s"
regexps: "^https?://www\\.amazon\\.(com|co\\.uk|ca|de|com\\.au)/s/"
example:
- searchUrl: "http://www.amazon.com/s/?field-keywords=%s"
+ searchUrl: "https://www.amazon.com/s/?field-keywords=%s"
keyword: "a"
parse: (xhr) -> JSON.parse(xhr.responseText)[1]
@@ -131,10 +131,10 @@ class DuckDuckGo extends BaseEngine
class Webster extends BaseEngine
constructor: ->
super
- engineUrl: "http://www.merriam-webster.com/autocomplete?query=%s"
+ engineUrl: "https://www.merriam-webster.com/autocomplete?query=%s"
regexps: "^https?://www.merriam-webster.com/dictionary/"
example:
- searchUrl: "http://www.merriam-webster.com/dictionary/%s"
+ searchUrl: "https://www.merriam-webster.com/dictionary/%s"
keyword: "dw"
description: "Dictionary"
diff --git a/background_scripts/completion_search.coffee b/background_scripts/completion_search.coffee
index 7926b45b..52206c78 100644
--- a/background_scripts/completion_search.coffee
+++ b/background_scripts/completion_search.coffee
@@ -2,7 +2,7 @@
# This is a wrapper class for completion engines. It handles the case where a custom search engine includes a
# prefix query term (or terms). For example:
#
-# http://www.google.com/search?q=javascript+%s
+# https://www.google.com/search?q=javascript+%s
#
# In this case, we get better suggestions if we include the term "javascript" in queries sent to the
# completion engine. This wrapper handles adding such prefixes to completion-engine queries and removing them
diff --git a/lib/settings.coffee b/lib/settings.coffee
index 08986723..62dc09e7 100644
--- a/lib/settings.coffee
+++ b/lib/settings.coffee
@@ -168,20 +168,20 @@ Settings =
# put in an example search engine
searchEngines:
"""
- w: http://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia
+ w: https://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia
# More examples.
#
# (Vimium supports search completion Wikipedia, as
# above, and for these.)
#
- # g: http://www.google.com/search?q=%s Google
- # l: http://www.google.com/search?q=%s&btnI I'm feeling lucky...
- # y: http://www.youtube.com/results?search_query=%s Youtube
+ # g: https://www.google.com/search?q=%s Google
+ # l: https://www.google.com/search?q=%s&btnI I'm feeling lucky...
+ # y: https://www.youtube.com/results?search_query=%s Youtube
# gm: https://www.google.com/maps?q=%s Google maps
# b: https://www.bing.com/search?q=%s Bing
# d: https://duckduckgo.com/?q=%s DuckDuckGo
- # az: http://www.amazon.com/s/?field-keywords=%s Amazon
+ # az: https://www.amazon.com/s/?field-keywords=%s Amazon
# qw: https://www.qwant.com/?q=%s Qwant
"""
newTabUrl: "about:newtab"
diff --git a/pages/help_dialog.html b/pages/help_dialog.html
index b2d14dab..1da54efd 100644
--- a/pages/help_dialog.html
+++ b/pages/help_dialog.html
@@ -107,7 +107,7 @@
<a class="vimiumHelDialogLink" target="_blank"
href="https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb/reviews">Leave us
feedback</a>.<br/>
- Found a bug? <a class="vimiumHelDialogLink" target="_blank" href="http://github.com/philc/vimium/issues">Report it here</a>.
+ Found a bug? <a class="vimiumHelDialogLink" target="_blank" href="https://github.com/philc/vimium/issues">Report it here</a>.
</div>
<div class="vimiumReset vimiumColumn" style="text-align:right">
<span class="vimiumReset">Version <span id="help-dialog-version"></span></span><br/>
diff --git a/pages/options.html b/pages/options.html
index 34ff70f9..80d3e61f 100644
--- a/pages/options.html
+++ b/pages/options.html
@@ -248,7 +248,7 @@ b: http://b.com/?q=%s description
<td verticalAlign="top">
<div class="help">
<div class="example">
- The search engine to use in the Vomnibar <br> (e.g.: "http://duckduckgo.com/?q=").
+ The search engine to use in the Vomnibar <br> (e.g.: "https://duckduckgo.com/?q=").
</div>
</div>
<input id="searchUrl" type="text" />