You will need to install a user script manager extension to install this script.
bilibili main site already supported to remember danmaku on/off status.
If you don't need embed player disabler, you can remove this userscript now!
If you need embed player disabler or you are no-login user, this userscript still working for you.
Support bilibili native and embed HTML5 player.