3 hours ago · Tech · hide · 0 comments

You are most probably already familiar with uBlock Origin, but you might not be aware that besides blocking ads, trackers, and page elements, you can also create filters to block things which are not always there... such as posts on the discover page. I will preface that I had to use Claude to do this1, because I don't want to learn another programming language to do something so small. And who the hell actually remembers regex syntax anyways!? Alright so! First open your uBlock2 settings, they should be somewhere in your browser extensions menu. In there should be a tab called My filters. Click that, and below a space for text should appear. If you have blocked items off pages before this could potentially already be populated. Make sure you have Enable my custom filters checked. In Firefox it should be on top of the text box. Paste my code in there (I will explain it at the bottom): ! bearblog filter for discover page bearblog.dev##:matches-path(/^\/discover\//) li:has(> div >…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.