commit 072c52af6a3f89d07cf90ad195e825c9c422f3e8
parent cd55c5cc585efaa8fd4574408a5e6e89e4dc7800
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Sun, 13 Nov 2016 03:52:02 +0100
Ad Changer to working baseLayer
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/screencap_iitc.js b/screencap_iitc.js
@@ -170,7 +170,8 @@ function hideDebris() {
function prepare(widthz, heightz, search) {
if (search == "nix") {
window.setTimeout(function() {
- page.evaluate(function(w, h) {
+ page.evaluate(function(w, h)
+ $("span:contains(' Google Roads')").prev().click();
var water = document.createElement('p');
water.id='viewport-ice';
water.style.position = 'absolute';
@@ -198,6 +199,7 @@ function prepare(widthz, heightz, search) {
}, search);
window.setTimeout(function() {
page.evaluate(function(w, h) {
+ $("span:contains(' Google Roads')").prev().click();
var water = document.createElement('p');
water.id='viewport-ice';
water.style.position = 'absolute';