User-scripts is what you're looking for, commonly use to customize your browsing experience with small JS scripts. Can be run with for example TamperMonkey. Writing a script that blacks out or filters comments with a mention of Apple would be trivial ("if .comment's innerText contains Apple, $element.remove()" in short)