intel-screenbot

An Ingress Intel Map Bot for Hangoutsbot
git clone git://archive.git.mtrnord.blog/MTRNord/intel-screenbot.git
Log | Files | Refs | README | LICENSE

commit bd4262c06b20608bbc1739c1ac89dd33bb6a741e
parent 391abf4876eae068f3962e5035cd7e0e6125aeec
Author: Marcel <MTRNord@users.noreply.github.com>
Date:   Tue, 15 Nov 2016 19:22:03 +0100

Clear local storage at first run
Diffstat:
Mscreencap_iitc.js | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/screencap_iitc.js b/screencap_iitc.js @@ -92,6 +92,9 @@ function firePlainLogin(SACSID, CSRF) { if (status !== 'success') {quit('unable to connect to remote server')} var link = 'https://www.google.com/accounts/ServiceLogin?service=ah&passive=true&continue=https://appengine.google.com/_ah/conflogin%3Fcontinue%3Dhttps://www.ingress.com/intel&ltmpl=' page.open(link, function () { + page.evaluate(function () { + localStorage.clear() + } login(SACSID, CSRF); }); });