Sure, although these progressive updates are still just for removing URL parameters. By the end of this guide, I started using uBlock Origin’s logger to clearly see every network request:
This allowed me to refine static filter rules for TELUS in an intimate manner, although I have not updated them recently due to other competing priorities:
In addition, I have been interested in blocking network requests, so I learned about HTML and CSS filters:
HTML filters
Supported by uBO 1.15.0 + in Firefox 57+.
READ VERY CAREFULLY: HTML filtering acts on the response data (before browser parsing). Do not use the browser inspector from developer tools to create HTML filters. You must use view-source:[URL of page] instead to look at the response data and find relevant information to create relevant HTML filters.
The purpose of HTML filters is to remove elements from a document before it is parsed by the browser.
The syntax is similar to that of cosmetic filters, except that you must prefix your selector (CSS or procedural) with the character ^:
example.com##^.badstuff
example.com##^script:has-text(7c9e3a5d51cdacfc)
These HTML filters will cause the elements matching the selectors to be removed from the streamed response data , such that the browser will never know of their existence once it parses the modified response data. It makes this a powerful tool in uBO’s arsenal.
Cosmetic rule
Cosmetic rules are based on using a special language named CSS, which every browser understands. Basically, it adds a new CSS style to the website which purpose is to hide particular elements. You can learn more about CSS in general here .
AdGuard extends CSS and lets filters developers handle much more complicated cases. However, to use these extended rules, you need to be fluent in regular CSS.
This ultimately lead me to create an advanced topic showcasing the amount of progress and work I have done with uBlock Origin since the beginning of this guide:
codeberg.org/FranklyFlawless/FlawlessFilters
In order to surgically debloat my web browsing experience, I have created a highly refined filter list stylized for uBlock Origin utilizing a powerful combination of HTML, cosmetic, and static filters. It is designed to work in compatibility with uBlock Origin’s default filter lists without any additional configuration while being optimized for performance on the Librem 5:
uBlock filters
uBlock filters – Ads
uBlock filters – Badware risks
uBlock f…