Skip to content
Discussion options

You must be logged in to vote

I DID IT!!!

ok so i added this to the entrypoint on docker

specificlly the --headless new as its a new chromium option to load extensions apparently...

ENTRYPOINT [ \
    "npx", \
    "single-file", \
    "--browser-executable-path", "/usr/bin/chromium", \
    "--browser-args", "[\"--headless new\",\"--load-extension=/opt/ublock\"]", \
    "--output-directory", "./out/", \
    "--remove-frames=true", \
    "--dump-content" ]

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gildas-lormeau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant