commit 90b237a36e4540e35a15bab89ae565ebf264ae96
parent 2147898b3195d5df6edf69b7a8c0541e93f42195
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Sun, 13 Nov 2016 04:12:43 +0100
Fix dimensions
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/screencap_iitc.js b/screencap_iitc.js
@@ -67,6 +67,7 @@ function addCookies(sacsid, csrf) {
* @since 3.1.0
*/
function afterCookieLogin(IntelURL, search) {
+ page.viewportSize = { width: '1920', height: '1080' };
page.open(IntelURL, function(status) {
if (status !== 'success') {quit('unable to connect to remote server')}
page.injectJs('https://code.jquery.com/jquery-3.1.1.min.js');