File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 22var l = '' ; //google login or email
33var p = '' ; //google password
44var area = 'https://www.ingress.com/intel?ll=53.22792,50.203829&z=16' ;
5- var v = 30000 ; //Delay between capturing screenshots, in milliseconds (1000 ms = 1 s)
5+ var v = 30000 ; //Delay between capturing screenshots, in milliseconds (1000 ms = 1 s)
6+ var width = 900 ; //Picture width
7+ var height = 500 ; //Picture height
68/* SGNITTES */
79
810var page = require ( 'webpage' ) . create ( ) ;
@@ -20,10 +22,15 @@ fs.list('.').forEach(function (e) {
2022} ) ;
2123var V = max + 1 ;
2224
23- var Version = '1.0.1 '
25+ var Version = '1.1.0 '
2426var version = Version + '\n' ;
2527
2628
29+ page . viewportSize = {
30+ width : width + 42 ,
31+ height : height + 167
32+ } ;
33+
2734function s ( ) {
2835 console . log ( 'Capturing screen #' + V + '...' ) ;
2936 page . render ( 'Ice' + V + '.png' ) ;
@@ -119,7 +126,7 @@ window.setTimeout(function () {page.open('https://www.ingress.com/intel', functi
119126 document . querySelector ( '#header' ) . style . display = 'none' ;
120127 document . querySelector ( '#footer' ) . style . display = 'none' ;
121128 document . querySelector ( '#snapcontrol' ) . style . display = 'none' ;
122- document . querySelector ( 'div.gm-style-cc:nth-child(8)' ) . style . display = 'none' ;
129+ // document.querySelector('div.gm-style-cc:nth-child(8)').style.display = 'none';
123130 } ) ;
124131 page . evaluate ( function ( ) {
125132 var hide = document . querySelectorAll ( '.gmnoprint' ) ;
You can’t perform that action at this time.
0 commit comments