add more HTTPS links. IITC is likely still broken for HTTPS Intel Map.
This commit is contained in:
parent
5e37f7f227
commit
849099c299
@ -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
|
// modified version of https://github.com/shramov/leaflet-plugins. Also
|
||||||
// contains the default Ingress map style.
|
// 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 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 JQUERYUI = 'https://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 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 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,';
|
var EMPTY = 'data:text/javascript;base64,';
|
||||||
|
|
||||||
// don’t download resources which have been injected already
|
// don’t download resources which have been injected already
|
||||||
|
@ -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: window.location.protocol + '//www.ingress.com/rpc/dashboard.'+action,
|
url: 'https://www.ingress.com/rpc/dashboard.'+action,
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
data: data,
|
data: data,
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
|
2
main.js
2
main.js
@ -56,7 +56,7 @@ var ir = window.internalResources || [];
|
|||||||
var mainstyle = 'http://breunigs.github.com/ingress-intel-total-conversion/style.css?@@BUILDDATE@@';
|
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 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 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 page’s
|
// remove complete page. We only wanted the user-data and the page’s
|
||||||
// security context so we can access the API easily. Setup as much as
|
// security context so we can access the API easily. Setup as much as
|
||||||
|
Loading…
x
Reference in New Issue
Block a user