It’s been possible for a while now to modify web pages using popular extensions such as Tampermonkey and Greasemonkey, which can be useful for avoiding annoying ads or tracking attempts.
Now, starting with version 1.75 of the Brave browser, you don’t have to download this kind of add-on — because the feature is already built in. According to Bleeping Computer, the new feature can be used for everything from adding support for keyboard shortcuts to stopping the automatic playback of videos.
Information on how to write your own scripts is available on the Brave website.