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:
parent
78329770fe
commit
706b5132ea
@ -1,7 +1,7 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @id iitc-plugin-guess-player-levels@breunigs
|
// @id iitc-plugin-guess-player-levels@breunigs
|
||||||
// @name IITC plugin: guess player level
|
// @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
|
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
|
||||||
// @updateURL @@UPDATEURL@@
|
// @updateURL @@UPDATEURL@@
|
||||||
// @downloadURL @@DOWNLOADURL@@
|
// @downloadURL @@DOWNLOADURL@@
|
||||||
@ -131,7 +131,9 @@ window.plugin.guessPlayerLevels.guess = function() {
|
|||||||
//console.log(s);
|
//console.log(s);
|
||||||
dialog({
|
dialog({
|
||||||
text: s,
|
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
|
//run the name resolving process
|
||||||
|
Loading…
x
Reference in New Issue
Block a user