gorhill / uBlock

uBlock Origin - An efficient blocker for Chromium and Firefox. Fast and lean.
GNU General Public License v3.0
45.59k stars 3.05k forks source link

Show unused hostname(s) between a hostname and its base domain #2034

Open snhv opened 7 years ago

snhv commented 7 years ago

Hi, In Advance mode, could we have the listing of all sub-level domains to assist a more efficient way to block domains? Currently there are only top-level domain (e.g. google.com) and the lowest-level domain (e.g. c.ad.google.com) listed. So if we want to block any sub-level domain in between (e.g. ad.google.com), we have to do that manually.

Thank you.

gorhill commented 7 years ago

It's already there, click the "all" cell at the top.

snhv commented 7 years ago

Hi gorhill, ubo screenshot Could you take a look at the attached screenshot?

Yes I did click "all" at the top. What I have is, in this particular case, the top-level domain "vnecdn.net" and all the lowest-level domains such as "img.f25.kinhdoanh.vnecdn.net", but no sub-level domains in between such as "kinhdoanh.vnecdn.net" (which is the ad server that I need to block). To block it, I need to do it manually, but not click & block.

gorhill commented 7 years ago

Ok I understand the issue now.

elypter commented 7 years ago

i had an idea for quite a while: put the domains and subdomains in a expandable and collapsable tree structure like in filebrowsers. this would also be handy for umatrix(and there also in the head row. eg: "storage" could expand into: cookies, dom local storage, dom session storage, hsts, cache, ... and thus allow a more fine granular control while not cluttering up the matrix)

MrSauna commented 7 years ago

I find "go back" button to be bugged. It doesn't take you back it only refreshes the info page of site blocked. I couldn't find separate issue report for this but don't have time to do a proper bug report. Is this even a bug? and if not this is a suggestion/request to fix/make it to do what the button says.