
Brave 1.75 empowers users with custom scriptlets for enhanced browsing experience
Brave has introduced a new feature in its desktop version 1.75, enabling advanced users to write and inject custom scriptlets into web pages. This addition allows users to enhance their browsing experience by writing JavaScript that can be injected into any website. Previously, Brave users could create custom filters and subscribe to community-maintained ones, but the introduction of custom scriptlets extends this capability significantly.
Adblockers like Brave Shields, uBlock Origin, and Adguard already utilize scriptlets internally to enhance blocking capabilities. Now, Brave users have access to this functionality, allowing them to perform actions such as disabling Web APIs on untrusted sites or preventing websites from disabling right-click functionality.
To ensure safety, this feature is gated behind a developer mode flag located in Shields Content filtering. Users are advised to inject only scripts that are confirmed safe. Importantly, custom scriptlets are stored locally within the browser and do not leave the device, maintaining user privacy.


Cool, so we don't need Tampermonkey or Violentmoney for userscripts? Nice that Brave is adding a browser-native feature like this, especially since Google's requirements for Manifest V3 extensions would likely have nerfed a lot of these userscript managers.
Edit: OK, I saw the official blog post. It is not a full userscript manager replacement. It's more just a way to manage script-based removal of contents. So it's similar to writing Adblock rules. It seems to me like just a more UI friendly implementation of the Brave "Block Elements" contextual menu thing.