Custom filter #
Warning: This post hasn't been updated for over a year. The information may be out of date.
Usage: uBlock Origin (see Browser extension #Essentials)
For readability, I mark the uBO static filter syntax code blocks in this section as Fortran.
Wikipedia #
Auto hide appearance menu & pin toc #
Source: fsau comments on Wikipedia Appearance settings for those of us blocking cookies / storage
Custom static rule: (need to tick )
! hide appearance
en.wikipedia.org##+js(trusted-set-cookie, enwikimwclientpreferences, vector-feature-appearance-pinned-clientpref-0)
! hide toc
en.wikipedia.org##+js(trusted-set-cookie, enwikimwclientpreferences, vector-feature-toc-pinned-clientpref-0)
! hide both
en.wikipedia.org##+js(trusted-set-cookie, enwikimwclientpreferences, vector-feature-appearance-pinned-clientpref-0%2Cvector-feature-toc-pinned-clientpref-0)
! show only toc
en.wikipedia.org##+js(trusted-set-cookie, enwikimwclientpreferences, vector-feature-appearance-pinned-clientpref-0%2Cvector-feature-toc-pinned-clientpref-1)