Replies: 5 comments 12 replies
-
|
Sorry for typos. I was watching 25th Wikipedia Birthday Party with one of my eyes 😉. |
Beta Was this translation helpful? Give feedback.
-
|
Linked at the top of https://github.com/gorhill/uBlock/wiki/Dashboard:-My-filters Clicking on these links will provide the user with information about filter syntax and options. And at the top of the page for Static filter syntax :
These links provide detailed information about filter syntax and instructions with examples for how to write filters. |
Beta Was this translation helpful? Give feedback.
-
|
It seems that despite OP was pointed out in the previous thread: #3917 to read documentation more carefully and with understanding, he has still missed https://github.com/gorhill/uBlock/wiki/About-the-Wiki-documentation which is located almost on the top, and which says to post uBO documentation related suggestions in Dicussions and not in Issue Tracker (to be clear: the thread has been moved from Issues to Discussions). This proves again that it's not the documentation which is a problem here, but reading it carefully and with understanding, by some users. (nothing personal, just stating some facts peacefully). |
Beta Was this translation helpful? Give feedback.
-
|
I did miss that part about posting suggestions for docs in Discussions rather than the Issue Tracker, true. Not sure why that’s relevant, though. Is your point that I didn’t read the entire documentation? I didn't, that's true. Now that we have that out of the way I want to say that I know most people don’t read the entire documentation. I’ve been in IT for about 30 years now. I created the EasyMOD FAQ for phpBB, I’ve been a Wikipedia user for 20 years, and I’m currently an administrator of Wikipedia and a mentor. I also worked on a phone in IT for something like 5 years and created a lot of documentation for both lay people as well as IT pros (for large and small library admins). People don’t usually read all the docs when they encounter a problem – they look for relevant information. That’s why clear documentation structure is important. It's also important to make it easier to scan the documentation for relevant information. Also, even on Reddit, two experienced users didn’t know I had to use |
Beta Was this translation helpful? Give feedback.
-
|
What? Why is this closed now? I though my suggestions were mostly clear. You can copy paste most of that and use on the my filters page. Perhaps correct the wording a bit. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Prerequisites
I tried to reproduce the issue when...
Description
Explain basic syntax in the docs, set the expectations.
A specific URL where the issue occurs.
https://github.com/gorhill/uBlock/wiki/Dashboard:-My-filtersSteps to Reproduce
moz-extension://.../dashboard.html#1p-filters.html).Expected behavior
Explain the syntax roughly, point to more details. Explain the options later.
Perhaps explain what to expect in current article (abstract aka summary aka TL;DR).
Or link to another page that does that.
Actual behavior
Above the fold I can only see a trusted filter screen.
Even reading the rest of this page it is impossible to get the feeling of what the filters are and what they can do. So show a few examples from simple to advanced.
So perhaps something like this:
My filters
...Abstract perhaps?...
TOC
Syntax of filters
Let's start with a simple example:
http://example.com/abs.jsThis will block this specific URL as written and all URLs that start with that so also
http://example.com/abs.js/abc.||example.com/abs.jsWill be protocol independent so both
http://andhttps://will be blocked. The||is a modifier prefix.You could also use
@@to make an accept-filter (by default filters are blocking). Note that accept filters are more important then blocking filters.So the syntax is:
{`modifier prefixes`}{`url` or `regexp`]${`options` (separated by a comma)}See more about the syntax in: Static filter syntax.
The warning
...
Order of filters
Note that what you enter in "My filters" might be overriden by other filters. See the logger to check which filter was applied.
Remember that accept filters are more important then blocking filters. So to block an url that has an accept filter you will need to use the
importantoption.Options
[the screen that is now on top]...the rest as-is...
Notes
uBO version
1.68.0
Browser name and version
Firefox: 149
Operating System and version
Win11pro 25H2
Beta Was this translation helpful? Give feedback.
All reactions