Starting with Brave Browser desktop version 1.75, advanced Brave users will be able to write and inject their own JavaScript scriptlets into web pages, allowing for better control over their browsing experience.
The Brave Browser JavaScript Scriptlets in action.
Image 1 shows the stackoverflow.com website without the custom scriptlet on the Brave Browser
Image 2 shows the cleaned up stackoverflow.com website with the custom scriptlet which removed the sidebars.

