This commit is contained in:
Stefan Breunig
2013-02-01 13:48:28 +01:00
parent a07ee0cc3d
commit 7136a29234
3 changed files with 10 additions and 10 deletions

16
main.js
View File

@ -3,8 +3,8 @@
// @name intel map total conversion
// @version 0.1-@@BUILDDATE@@
// @namespace https://github.com/breunigs/ingress-intel-total-conversion
// @updateURL https://raw.github.com/breunigs/ingress-intel-total-conversion/master/total-conversion-build.user.js
// @downloadURL https://raw.github.com/breunigs/ingress-intel-total-conversion/master/total-conversion-build.user.js
// @updateURL https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/total-conversion-build.user.js
// @downloadURL https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/total-conversion-build.user.js
// @description total conversion for the ingress intel map.
// @include http://www.ingress.com/intel*
// ==/UserScript==
@ -39,13 +39,13 @@ for(var i = 0; i < d.length; i++) {
// 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
// possible without requiring scripts.
document.getElementsByTagName('head')[0].innerHTML =
'<link rel="stylesheet" href="https://raw.github.com/breunigs/ingress-intel-total-conversion/master/style.css" />'
'<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5/leaflet.css" />'
+ '<link href="http://fonts.googleapis.com/css?family=Coda" rel="stylesheet" type="text/css" />';
document.getElementsByTagName('head')[0].innerHTML = ''
+ '<link rel="stylesheet" type="text/css" href="http://breunigs.github.com/ingress-intel-total-conversion/style.css"/>'
+ '<link rel="stylesheet" type="text/css" href="http://cdn.leafletjs.com/leaflet-0.5/leaflet.css"/>'
+ '<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Coda"/>';
document.getElementsByTagName('body')[0].innerHTML =
'<div id="map">Loading, please wait</div>'
document.getElementsByTagName('body')[0].innerHTML = ''
+ '<div id="map">Loading, please wait</div>'
+ '<div id="sidebar" style="display: none">'
+ ' <div id="playerstat">t</div>'
+ ' <div id="gamestat">&nbsp;loading global control stats</div>'