uBlock Origin Extension with Dia Browser
The author transitioned from the Arc browser to the Dia browser to explore its AI features but encountered an issue with the uBlock Origin extension no longer being available due to Chrome 140's deprecation of Manifest V2 extensions. A workaround using terminal commands and an Automator script was developed to disable the restrictive features and allow uBlock Origin installation. The solution was refined to prevent duplicate browser instances and improve usability, though it may not be sustainable with future browser updates.
- ▪Dia browser, a Chromium-based browser, no longer supports the uBlock Origin extension due to Chrome 140 enabling ExtensionManifestV2Unsupported and ExtensionManifestV2Disabled.
- ▪The workaround involves launching Dia via a terminal command that disables these features to allow uBlock Origin installation.
- ▪An Automator script with AppleScript was created to either launch Dia with the flags or focus the existing window if already open.
- ▪The solution includes redirecting output and running the process in the background to avoid terminal blocking.
- ▪This workaround may not be future-proof as upcoming Chrome updates could block or break the method.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 369092) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Jason Lo Posted on May 17 uBlock Origin Extension with Dia Browser #browser Recently, I moved from using Arc browser to Dia browser to try the integrated AI features. The change that I first noticed was that uBlock Origin extension is no longer available on Dia browser, a chromium based browser.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).