mirror of
https://github.com/FutaGuard/LowTechFilter.git
synced 2025-06-21 05:21:02 +08:00
Update hide_farm.py
This commit is contained in:
parent
388930c2ae
commit
e492e8bd1a
@ -9,7 +9,7 @@ with open('../nofarm_hosts.txt', 'r') as files:
|
||||
for domains in files.read().split('\n'):
|
||||
if domains:
|
||||
domain = domains[2:-1]
|
||||
domain_list += 'google.*##div[data-hveid]:has(a[href*="{domain}"])\n'.format(
|
||||
domain_list += 'google.*##div.g:has(div[data-hveid] a[href*="{domain}"])\n'.format(
|
||||
domain=domain
|
||||
)
|
||||
domain_list_ff += 'google.*##div div div:has(a[href*="{domain}"])\n'.format(
|
||||
|
Loading…
x
Reference in New Issue
Block a user