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

Help with add a vimium extension #490

Open
fabceolin opened this issue Oct 5, 2023 · 0 comments
Open

Help with add a vimium extension #490

fabceolin opened this issue Oct 5, 2023 · 0 comments

Comments

@fabceolin
Copy link

fabceolin commented Oct 5, 2023

I am trying to add a vimium extension, following this: https://www.brow.sh/docs/extensions/

# Start from the Browsh image
FROM browsh/browsh

# Set up environment for Firefox
USER root

# Download and install the Vimium extension
RUN apt-get update && apt-get install -y wget unzip && \
    wget -O /tmp/vimium.xpi https://addons.mozilla.org/firefox/downloads/file/4137983/vimium_ff-1.67.7.xpi && \
    mkdir -p /usr/lib/firefox/browser/extensions/ && \
    cp /tmp/vimium.xpi /usr/lib/firefox/browser/extensions/{d7742d87-e61d-4b78-b8a1-b469842139fa}.xpi && \
    mkdir -p /usr/lib/firefox-esr/browser/features/ && \
    cp /tmp/vimium.xpi /usr/lib/firefox-esr/browser/features/{d7742d87-e61d-4b78-b8a1-b469842139fa}.xpi && \
    mkdir -p /app/.config/browsh/firefox_profile/extensions/ && \
    cp /tmp/vimium.xpi /app/.config/browsh/firefox_profile/extensions/{d7742d87-e61d-4b78-b8a1-b469842139fa}.xpi && \
    mkdir -p /app/.mozilla/extensions/ && \
    cp /tmp/vimium.xpi /app/.mozilla/extensions/{d7742d87-e61d-4b78-b8a1-b469842139fa}.xpi && \
    chown -R user:user /app/.config/browsh/firefox_profile && \
    chown -R user:user /app/.mozilla && \
    apt-get remove -y wget unzip && apt-get clean
USER user

But the extension is not running. Could someone help me to debug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant