
Brave Browser version 1.75 is rolling out a powerful new feature called ‘custom scriptlets,’ enabling users to inject custom JavaScript code into websites. This functionality, similar to popular extensions like TamperMonkey and GreaseMonkey, offers unprecedented control over browsing experiences.
Key Features and Applications:
Privacy Enhancements:
– Block JavaScript-based trackers
– Randomize fingerprinting APIs
– Replace Google Analytics with dummy versions
Customization Options:
– Remove sidebars and pop-ups
– Force dark mode universally
– Modify text appearance and layout
– Enable infinite scrolling
– Hide unwanted elements
Performance Improvements:
– Block video autoplay
– Enable lazy-loading of images
– Automate form filling
– Create custom keyboard shortcuts
– Bypass right-click restrictions
Implementation:
1. Access through brave://settings/shields/filters
2. Enable Developer mode
3. Click “Add new scriptlet”
4. Input custom JavaScript code
Safety Considerations:
– Feature is behind Developer mode for safety
– Users should only implement trusted code
– Custom scripts may affect website functionality
– Careful review of code is recommended
The feature supports filter rule syntax similar to uBlock Origin and AdGuard, with options to subscribe to existing adblock filter lists for automated implementation.