Created
September 14, 2016 13:00
-
-
Save Stevie-O/c52286f3eab940854e5e91545732847f to your computer and use it in GitHub Desktop.
Bookmarklet for Trimps to get current portal statistics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){var summary = ''; for (var x in game.stats) { var s = game.stats[x]; if (s.value === undefined) continue; var v = (typeof(s.value) == 'function' ? s.value() : s.value.toString()); summary += s.title + ': ' + v + '\n'; } summary += 'Helium: ' + game.resources.helium.owned + '\n'; summary += 'Time: ' + updatePortalTimer(true); tooltip('Export', null, 'update'); document.getElementById('exportArea').value = summary;})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment