New Era of Browser Customization
Brave introduced a new feature called ‘custom scriptlets’ that allows advanced users to inject their own JavaScript scripts into websites. This allows users to deeply customize and have control over their browsing experience.
This feature is only available in version 1.75 for desktop users, which is very similar to extensions on the TamperMonkey and GreaseMonkey browsers.
Initial development for debugging
Tim Brave said that this feature was initially used to debug the browser’s adblock feature, but it ended up being published to users. Because he thought it was too valuable to keep to himself, Brave then shared it with users.
Main Features:
Privacy enhancement: Users can block JavaScript trackers, randomize fingerprinting APIs, and replace Google Analytics scripts with dummy scripts.
Customization & UI Accessibility: Users can hide the side-bar, pop-ups, floating ads, force dark mode, adjust text size, and reveal hidden content.
Performance & Usability Enhancements: Block autoplay videos, lazy-load images, auto-fill forms, enable keyboard shortcuts, and bypass right-click restrictions.
Brave Browser custom scriptlets
Source: Brave
This feature offers significant flexibility. Brave warns users to remain cautious when adding custom scripts. Running custom scriptlets from untrusted sources can increase security risks or disrupt web functionality. To mitigate this risk factor, this feature is disabled by default and must be enabled manually in developer mode.
How to use custom scriptlets
- On the Brave desktop, open the Settings menu.
- Search for ‘Shields’ in the navigation bar, then go to content filters. (Or you can go to brave://settings/shields/filters.)
- Scroll down and enable developer mode.
- Under ‘custom scriptlets‘, click ‘Add new scriptlet’. Then write your JavaScript script.
- Click Save (to save your modified script input).
Source:
https://www.bleepingcomputer.com/news/software/brave-now-lets-you-inject-custom-javascript-to-tweak-websites/
https://brave.com/privacy-updates/32-custom-scriptlets/
https://www.kaishira.com/2025/02/09/brave-browser-introduces-custom-scriptlets/
https://undercodenews.com/brave-browser-introduces-custom-scriptlets-for-advanced-users/