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 8d6c092217a791ed96eed0d6e44f68b7b07001c0
parent ea813357f81f60d38992c73b1679656c5861e993
Author: Marcel <MTRNord@users.noreply.github.com>
Date:   Thu, 10 Nov 2016 21:07:15 +0100

Fix to plain js
Diffstat:
Mintel_screenbot/screencap.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/intel_screenbot/screencap.js b/intel_screenbot/screencap.js @@ -80,7 +80,7 @@ function afterCookieLogin(IntelURL, search) { timeout: 1000, // optional check: function () { return page.evaluate(function() { - if ($('#percent_text').textContent == "90") { + if (document.querySelector('#percent_text').textContent == "90") { return true; }else{ return false;