support https as well (fixes #309). Also bump version number in main which is was an oversight when releasing 0.7/0.71

This commit is contained in:
Stefan Breunig 2013-02-25 22:00:28 +01:00
parent 633dad97b9
commit b58050320b
2 changed files with 4 additions and 4 deletions

View File

@ -54,7 +54,7 @@ window.postAjax = function(action, data, success, error) {
// use full URL to avoid issues depending on how people set their // use full URL to avoid issues depending on how people set their
// slash. See: // slash. See:
// https://github.com/breunigs/ingress-intel-total-conversion/issues/56 // https://github.com/breunigs/ingress-intel-total-conversion/issues/56
url: 'http://www.ingress.com/rpc/dashboard.'+action, url: window.location.protocol + '//www.ingress.com/rpc/dashboard.'+action,
type: 'POST', type: 'POST',
data: data, data: data,
dataType: 'json', dataType: 'json',

View File

@ -1,13 +1,13 @@
// ==UserScript== // ==UserScript==
// @id ingress-intel-total-conversion@breunigs // @id ingress-intel-total-conversion@breunigs
// @name intel map total conversion // @name intel map total conversion
// @version 0.6-@@BUILDDATE@@ // @version 0.7.1-@@BUILDDATE@@
// @namespace https://github.com/breunigs/ingress-intel-total-conversion // @namespace https://github.com/breunigs/ingress-intel-total-conversion
// @updateURL https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/dist/total-conversion-build.user.js // @updateURL https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/dist/total-conversion-build.user.js
// @downloadURL https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/dist/total-conversion-build.user.js // @downloadURL https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/dist/total-conversion-build.user.js
// @description total conversion for the ingress intel map. // @description total conversion for the ingress intel map.
// @include http://www.ingress.com/intel* // @include *://www.ingress.com/intel*
// @match http://www.ingress.com/intel* // @match *://www.ingress.com/intel*
// ==/UserScript== // ==/UserScript==