print build date to console once
This commit is contained in:
parent
713b5a16ff
commit
91f6f6d9d6
@ -233,7 +233,7 @@ window.setupDialogs = function() {
|
|||||||
function boot() {
|
function boot() {
|
||||||
window.debug.console.overwriteNativeIfRequired();
|
window.debug.console.overwriteNativeIfRequired();
|
||||||
|
|
||||||
console.log('loading done, booting');
|
console.log('loading done, booting. Built: ' + window.iitcBuildDate);
|
||||||
window.runOnSmartphonesBeforeBoot();
|
window.runOnSmartphonesBeforeBoot();
|
||||||
|
|
||||||
// overwrite default Leaflet Marker icon to be a neutral color
|
// overwrite default Leaflet Marker icon to be a neutral color
|
||||||
|
2
main.js
2
main.js
@ -15,6 +15,8 @@
|
|||||||
if(document.getElementsByTagName('html')[0].getAttribute('itemscope') != null)
|
if(document.getElementsByTagName('html')[0].getAttribute('itemscope') != null)
|
||||||
throw('Ingress Intel Website is down, not a userscript issue.');
|
throw('Ingress Intel Website is down, not a userscript issue.');
|
||||||
|
|
||||||
|
window.iitcBuildDate = '@@BUILDDATE@@';
|
||||||
|
|
||||||
// disable vanilla JS
|
// disable vanilla JS
|
||||||
window.onload = function() {};
|
window.onload = function() {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user