commit 6b173ed25951756ba200040c9eb02d47a049bb27
parent cfce2d6e23faf8f1acc1d8530421d0d2c6282083
Author: MTRNord <mtrnord1@gmail.com>
Date: Tue, 15 Nov 2016 09:12:05 +0100
Remove announce
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/screencap_iitc.js b/screencap_iitc.js
@@ -38,7 +38,7 @@ if (validateEmail(SACSID)) {
firePlainLogin();
} else {
addCookies(config.SACSID, config.CSRF);
- announce('Using cookies to log in');
+ console.log('Using cookies to log in');
afterCookieLogin();
}
});
@@ -141,7 +141,7 @@ function afterPlainLogin(IntelURL, search) {
page.open(IntelURL, function(status) {
if (status !== 'success') {quit('unable to connect to remote server')}
if (!isSignedIn()) {
- announce('Something went wrong. Please, sign in to Google via your browser and restart ICE. Don\'t worry, your Ingress account will not be affected.');
+ console.log("not logged in")
quit();
}
setTimeout(function() {
diff --git a/screencap_intel.js b/screencap_intel.js
@@ -34,7 +34,7 @@ if (validateEmail(SACSID)) {
firePlainLogin();
} else {
addCookies(config.SACSID, config.CSRF);
- announce('Using cookies to log in');
+ console.log('Using cookies to log in');
afterCookieLogin();
}
});
@@ -143,7 +143,7 @@ function afterPlainLogin(IntelURL, search) {
if (status !== 'success') {quit('unable to connect to remote server')}
if (!isSignedIn()) {
- announce('Something went wrong. Please, sign in to Google via your browser and restart ICE. Don\'t worry, your Ingress account will not be affected.');
+ console.log('Something went wrong. Please, sign in to Google via your browser and restart ICE. Don\'t worry, your Ingress account will not be affected.');
quit();
}
setTimeout(function() {