File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 22
33echo " Running mixed content report"
44# e.g. arg could be _site for a jekyll site
5- find $1 -name " *.html" | xargs phantomjs report-mixed-content.js ;
5+ find $1 -name " *.html" | xargs phantomjs --web-security=false --disk-cache=true --ignore-ssl-errors=false --load-images=true --output-encoding=utf-8 report-mixed-content.js ;
66echo " report finsihed."
Original file line number Diff line number Diff line change 1- #!/usr/bin/env phantomjs --disk-cache=true --ignore-ssl-errors=false --load-images=true --output-encoding=utf-8
1+ #!/usr/bin/env phantomjs --web-security=false -- disk-cache=true --ignore-ssl-errors=false --load-images=true --output-encoding=utf-8
22'use strict' ;
33
44var system = require ( 'system' ) ,
@@ -43,7 +43,7 @@ function initPage() {
4343
4444 page . onConsoleMessage = function ( msg ) {
4545 if ( msg == 'GOTO_NEXT_PAGE' ) {
46- // page.close();
46+ page . close ( ) ;
4747 //crawlNextPage();
4848 } else if ( msg . indexOf ( 'insecure content from' ) >= 0 ) {
4949 // We can format WebKit's native error messages nicely:
@@ -63,6 +63,7 @@ function crawlNextPage() {
6363 }
6464
6565 var url = URLs . shift ( ) ;
66+ console . log ( 'Checking ' + url ) ;
6667 var page = initPage ( ) ;
6768
6869 page . originalURL = url ;
You can’t perform that action at this time.
0 commit comments