add more HTTPS links. IITC is likely still broken for HTTPS Intel Map.

This commit is contained in:
Stefan Breunig 2013-02-25 22:39:06 +01:00
parent 5e37f7f227
commit 849099c299
3 changed files with 6 additions and 6 deletions

View File

@ -294,12 +294,12 @@ function asyncLoadScript(a){return function(b,c){var d=document.createElement("s
// modified version of https://github.com/shramov/leaflet-plugins. Also
// contains the default Ingress map style.
var LEAFLETGOOGLE = 'http://breunigs.github.com/ingress-intel-total-conversion/dist/leaflet_google.js';
var LEAFLETGOOGLE = 'https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/dist/leaflet_google.js';
var JQUERY = 'https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js';
var JQUERYUI = 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/jquery-ui.min.js';
var JQUERYQRCODE = 'http://jeromeetienne.github.com/jquery-qrcode/jquery.qrcode.min.js';
var JQUERYUI = 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/jquery-ui.min.js';
var JQUERYQRCODE = 'https://raw.github.com/jeromeetienne/jquery-qrcode/master/jquery.qrcode.min.js';
var LEAFLET = 'http://cdn.leafletjs.com/leaflet-0.5/leaflet.js';
var AUTOLINK = 'http://breunigs.github.com/ingress-intel-total-conversion/dist/autolink.js';
var AUTOLINK = 'https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/dist/autolink.js';
var EMPTY = 'data:text/javascript;base64,';
// dont download resources which have been injected already

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
// slash. See:
// https://github.com/breunigs/ingress-intel-total-conversion/issues/56
url: window.location.protocol + '//www.ingress.com/rpc/dashboard.'+action,
url: 'https://www.ingress.com/rpc/dashboard.'+action,
type: 'POST',
data: data,
dataType: 'json',

View File

@ -56,7 +56,7 @@ var ir = window.internalResources || [];
var mainstyle = 'http://breunigs.github.com/ingress-intel-total-conversion/style.css?@@BUILDDATE@@';
var smartphone = 'http://breunigs.github.com/ingress-intel-total-conversion/mobile/smartphone.css?@@BUILDDATE@@';
var leaflet = 'http://cdn.leafletjs.com/leaflet-0.5/leaflet.css';
var coda = 'http://fonts.googleapis.com/css?family=Coda';
var coda = 'https://fonts.googleapis.com/css?family=Coda';
// remove complete page. We only wanted the user-data and the pages
// security context so we can access the API easily. Setup as much as