Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[computer use] add firefox extension to hide cookie warnings #107

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions computer-use-demo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ RUN git clone --branch v1.5.0 https://github.com/novnc/noVNC.git /opt/noVNC && \
git clone --branch v0.12.0 https://github.com/novnc/websockify /opt/noVNC/utils/websockify && \
ln -s /opt/noVNC/vnc.html /opt/noVNC/index.html

# Install the 'I still don't care about cookies' extension
RUN curl -L -o /usr/lib/firefox-esr/browser/extensions/[email protected] \
"https://addons.mozilla.org/firefox/downloads/latest/istilldontcareaboutcookies/addon-920220-latest.xpi"
RUN echo '{ "policies": { "Extensions": { "Install": [ "file:///usr/lib/firefox-esr/browser/extensions/[email protected]" ] } } }' > /usr/lib/firefox-esr/distribution/policies.json

# setup user
ENV USERNAME=computeruse
ENV HOME=/home/$USERNAME
Expand Down