mozilla/firefox | ||
.gitignore | ||
annotate_header.sh | ||
array-to-lines.js | ||
Dockerfile | ||
draw_rect.sh | ||
ephemeral-x.sh | ||
get-text-position.py | ||
index.js | ||
package-lock.json | ||
package.json | ||
README.md | ||
script3.sh | ||
utils.sh |
Screenshot service
Dependencies
Xvfb
fluxbox
firefox-beta
Building
docker image build -t headless-fox .
Running a single analysis
BASE_URL=http://localhost:3000 docker run -i -v $PWD/static:/opt/static headless-fox ./script3.sh '{"url": "pearson.pl", "third_party_domains": ["hotjar.com", "cookielaw.org"]}' 123
Running the server
BASE_URL=http://localhost:3000 node .