SimonBrazell / privacy-redirect

A simple web extension that redirects Twitter, YouTube, Instagram & Google Maps requests to privacy friendly alternatives.
GNU General Public License v3.0
2k stars 113 forks source link

How to modify the default settings #376

Open jholz88 opened 2 years ago

jholz88 commented 2 years ago

I'm working on installing a number of Chromium extensions, including Privacy Redirect, system-wide. How would I go about enabling "Use FreeTube over Invidious" by default?

https://aur.archlinux.org/packages/chromium-extension-privacy-redirect-av

jholz88 commented 2 years ago

Ah ha, I figured it out. The defaults are set in "src/pages/background/background.js". I just needed to modify the "browser.runtime.onInstalled.addListener()" function.