juched
Very Senior Member
I've uploaded v3.11Beta on GitHub dev branch for those that want to try it
Code:e = Exit Script [?] A:Option ==> uf dev A:Option ==> adblock
View attachment 23327
Having visited YouTube, rather than wait 5 mins ('cos you are too excited! ), you can force the scanning.....
Code:A:Option ==> adblock update Updating Ads and Tracker Blocking..... _____ _ _ _ _ | _ |_| | |_| |___ ___| |_ | | . | . | | . | _| '_| |__|__|___|___|_|___|___|_,_| (gen_adblock.sh): 32637 @juched - v1.0.6 - Thanks to @SomeWhereOverTheRainBow Removing possible temporary files.. Downloading list(s) from block site(s) configured... Attempting to Download 1 of 3 from https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts. ######################################################################## 100.0% Attempting to Download 4 of 3 from https://raw.githubusercontent.com/llacb47/mischosts/master/tiktok-hosts. ######################################################################## 100.0% Attempting to Download 7 of 3 from https://raw.githubusercontent.com/mitchellkrogza/The-Big-List-of-Hacked-Malware-Web-Sites/master/hacked-domains.list. ######################################################################## 100.0% Downloading list(s) from allow site(s) configured... Adding user requested hosts to list... Removing user requested hosts from list... Removing required hosts from list... Removing unnecessary formatting from the domain list... Generating Unbound adservers file... (gen_adblock.sh): 32637 Number of adblocked hosts: 63968 Generating Unbound unload/load lists... Loading/Unload Unbound local-zones to take effect... removed 63968 zones added 63968 zones Removing temporary files... Adblock update complete! Updating YouTube Video Ad Blocking..... Y88b d88P 88888888888 d8888 888 888888b. 888 888 Y88b d88P 888 d88888 888 888 "88b 888 888 Y88o88P 888 d88P888 888 888 .88P 888 888 Y888P 888 d88P 888 .d88888 8888888K. 888 .d88b. .d8888b 888 888 888 888 d88P 888 d88" 888 888 "Y88b 888 d88""88b d88P" 888 .88P 888 888 d88P 888 888 888 888 888 888 888 888 888 888888K 888 888 d8888888888 Y88b 888 888 d88P 888 Y88..88P Y88b. 888 "88b 888 888 d88P 888 "Y88888 8888888P" 888 "Y88P" "Y8888P 888 888 ## by @juched - dynamically block YT ads - v1.0 gen_ytadblock.sh Forcing to use YT IP Generating Unbound yt adblock list... (gen_ytadblock.sh): 388 Number of yt adblocked domains: 4 Loading/Unload Unbound local-data to take effect... added 4 datas All done updating YT hosts!
Ok,I need to fix the empty file detection. Your log shows that ipYTforce file didn’t get populated correctly since you didn’t have any YouTube hits in your cache when first run and likely the file is empty.
Can you erase that file manually and run it again? It should write out an IP on screen.
--- edit ---
Pushed fix to dev branch. Had a wrong bracket so file detection didn't work. run again and it should pick a force IP if needed, even if file exists and is empty. V1.1.
Last edited: