Go to file
2022-04-24 18:58:08 +02:00
mozilla/firefox Working Docker setup 2022-02-24 00:24:34 +01:00
.gitignore First working webservice 2022-04-24 17:24:27 +02:00
annotate_header.sh Variable hostname 2022-04-24 18:47:08 +02:00
array-to-lines.js Working parametrization 2022-04-24 15:25:15 +02:00
Dockerfile First working webservice 2022-04-24 17:24:27 +02:00
draw_rect.sh More accurate highlighting 2022-04-20 23:23:48 +02:00
ephemeral-x.sh Variable hostname 2022-04-24 18:47:08 +02:00
get-text-position.py Simple highlight of the set-cookies header. 2022-03-06 22:37:08 +01:00
index.js Make the URL configurable 2022-04-24 18:58:08 +02:00
package-lock.json First working webservice 2022-04-24 17:24:27 +02:00
package.json First working webservice 2022-04-24 17:24:27 +02:00
README.md Variable hostname 2022-04-24 18:47:08 +02:00
script3.sh Commit changes in script3 2022-04-24 18:09:36 +02:00
utils.sh syntax errro in utils 2022-04-24 18:53:27 +02:00

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 .