With more and more sites gaining support for dark mode and adding very pretty toggles to their design, it’s important to implement them correctly. Unfortunately most sites do not and as a result their toggle is broken.
Annoying.js: How to be an asshole
The file itself is commented with “functionality”, so I won’t bother repeating it here. You can invoke different functions via the
Annoying.noSelect(); will disable text selection,
Annoying.noRightClick(); will disable the context menu, and
Annoying.kitchensink(); Will turn all the functionality on. But you’re not going to use it anyway, right? ;)
Breaking out of iframes is something I think more websites should implement, actually, if only to prevent the “OMG!!!! Look What this Kid did to his School after being Expelled! ” scams that all of my friends on Facebook keep falling for.
Let me know if you have any horrible additions!