You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found you via HN and wanted to drop a note of thanks. This list is making my search life much more productive and less aggravating.
A question: I have used your examples to set up some of my own filters. For example, I don't want Amazon search results so I've added the following to My Filters and updated uBlock Origin.
However, Amazon results still sneak through. I have tried to understand uBlock Origin's filtering syntax but still don't grok how to figure out or debug for myself. I've tried various wildcards with no luck. I think that maybe DDG and Google wrap Amazon results in some more complex packaging.
e.g. On one DDG leaker I see this nested deep in a div structure
<a href="/?q=cupcake%20tins+site:www.amazon.com&t=ffab" rel="noopener" title="Search domain amazon.com" data-testid="result-extras-site-search-link" data-handled-by-react="true"><img src="/assets/icons/favicons/amazon.2x.png" loading="lazy" width="16" height="16"></a>
It still seems like the filter should work on this since it is part of an href.
Any suggestions for this or better yet, where to learn the ins and outs of the filter syntax? I've looked at Gorhill's and the AdBlock Plus tutorials but need to learn more about the structure of webpages before I can understand what they're telling me.
The text was updated successfully, but these errors were encountered:
Found you via HN and wanted to drop a note of thanks. This list is making my search life much more productive and less aggravating.
A question: I have used your examples to set up some of my own filters. For example, I don't want Amazon search results so I've added the following to My Filters and updated uBlock Origin.
duckduckgo.##.results > div:has(a[href="amazon."])
google.##.g:has(a[href*="amazon.*"])
However, Amazon results still sneak through. I have tried to understand uBlock Origin's filtering syntax but still don't grok how to figure out or debug for myself. I've tried various wildcards with no luck. I think that maybe DDG and Google wrap Amazon results in some more complex packaging.
e.g. On one DDG leaker I see this nested deep in a div structure
<a href="/?q=cupcake%20tins+site:www.amazon.com&t=ffab" rel="noopener" title="Search domain amazon.com" data-testid="result-extras-site-search-link" data-handled-by-react="true"><img src="/assets/icons/favicons/amazon.2x.png" loading="lazy" width="16" height="16"></a>
It still seems like the filter should work on this since it is part of an href.
Any suggestions for this or better yet, where to learn the ins and outs of the filter syntax? I've looked at Gorhill's and the AdBlock Plus tutorials but need to learn more about the structure of webpages before I can understand what they're telling me.
The text was updated successfully, but these errors were encountered: