ungoogled-software / ungoogled-chromium-debian

Debian, Ubuntu, and others packaging for ungoogled-chromium
386 stars 49 forks source link

How to remove Chromium PDF Viewer extension? #309

Open rphair opened 2 years ago

rphair commented 2 years ago

Is there a reproducible way we can remove the built-in Chromium PDF Viewer extension (mhjfbmdgcfjbbpaeojofohoefgiehjai)?

I know that running this extension for its intended purpose can be disabled with Settings > Privacy and security > Site settings > Additional content settings > PDF documents > Download PDFs but I would rather remove it because of the permissions granted to this extension ("elevated" private permissions, indicated at the link above) plus the fact that it's been blacklisted in Brave browser (which I have to assume is for security reasons unless proven otherwise).

Although I would rather have it gone, I'd be also happy with the maintainers' or contributors' assurance (and reasons) that this extension doesn't have any closed source components or other security reservations. 🙏

_platform: fork berkley4/ungoogled-chromium-debian 106.0.5249.119-1amd64 - Ubuntu 20.04

PF4Public commented 2 years ago

It is probably doable, but requires lots of patching. I tried at some point in time, but gave up. See here: https://github.com/PF4Public/gentoo-overlay/issues/26

rphair commented 2 years ago

Thanks @PF4Public - with that in mind, I mostly wonder about the second part of this question: whether the built-in PDF extension, or the code behind it, could qualify as a security risk. 🤔