guess player levels

- set an id to prevent mulitple instances being opened
- pass in a width, overriding the default 300px
This commit is contained in:
Jon Atkins 2013-05-27 04:58:45 +01:00
parent 78329770fe
commit 706b5132ea

View File

@ -1,7 +1,7 @@
// ==UserScript==
// @id iitc-plugin-guess-player-levels@breunigs
// @name IITC plugin: guess player level
// @version 0.4.3.@@DATETIMEVERSION@@
// @version 0.4.4.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
@ -131,7 +131,9 @@ window.plugin.guessPlayerLevels.guess = function() {
//console.log(s);
dialog({
text: s,
title: 'Player levels: R' + averageR.toFixed(2) + ', E' + averageE.toFixed(2)
title: 'Player levels: R' + averageR.toFixed(2) + ', E' + averageE.toFixed(2),
id: 'guess-player-levels',
width: 350,
});
//run the name resolving process