Not reproducible here, please post the output of
opkg list-installed | grep -E '^luci|^adblock|^rpcd'
Not reproducible here, please post the output of
opkg list-installed | grep -E '^luci|^adblock|^rpcd'
Hello, cheers for the help here...just did an install of Chrome and theres no issues! So, done the sensible thing, (50 steps too late) and cleared the website data for the router (FF caches the apps_ and guess what...egg on face!!! All working!!! Sorry I tortured you guys about it...suppose orth noting the error is related for Firefox caching though!
Apologies!!!
adblock - 4.0.4-4
luci - git-20.105.64099-eeba108-1
luci-app-adblock - git-20.105.64099-eeba108-1
luci-app-bcp38 - git-20.105.64099-eeba108-1
luci-app-ddns - git-20.087.65997-f08cb4f-1
luci-app-firewall - git-20.105.64099-eeba108-1
luci-app-nft-qos - git-20.105.64099-eeba108-1
luci-app-nlbwmon - git-20.105.64099-eeba108-1
luci-app-opkg - git-20.105.64099-eeba108-1
luci-app-sqm - 1.4.0-5
luci-app-statistics - git-20.105.64099-eeba108-1
luci-app-uhttpd - git-20.105.64099-eeba108-1
luci-app-unbound - git-20.105.64099-eeba108-1
luci-app-upnp - git-20.105.64099-eeba108-1
luci-app-watchcat - git-20.105.64099-eeba108-1
luci-base - git-20.105.64099-eeba108-1
luci-compat - git-20.105.64099-eeba108-1
luci-lib-ip - git-20.105.64099-eeba108-1
luci-lib-ipkg - git-20.105.64099-eeba108-1
luci-lib-iptparser - git-20.105.64099-eeba108-1
luci-lib-jsonc - git-20.105.64099-eeba108-1
luci-lib-nixio - git-20.105.64099-eeba108-1
luci-mod-admin-full - git-20.105.64099-eeba108-1
luci-mod-network - git-20.105.64099-eeba108-1
luci-mod-status - git-20.105.64099-eeba108-1
luci-mod-system - git-20.105.64099-eeba108-1
luci-proto-ipv6 - git-20.105.64099-eeba108-1
luci-proto-ppp - git-20.105.64099-eeba108-1
luci-theme-bootstrap - git-20.105.64099-eeba108-1
luci-theme-rosy - git-20.066.59708-177f110-1
rpcd - 2019-12-10-aaa08366-2
rpcd-mod-file - 2019-12-10-aaa08366-2
rpcd-mod-iwinfo - 2019-12-10-aaa08366-2
rpcd-mod-luci - 20191114
rpcd-mod-rrdns - 20170710
Great that it finally works for you, too! ![]()
That's one major drawback of the new client side JS-engine ...
Best part is i cleared the cache multiple times - I didn't clear the data though!!! so in the data section, search for the router address and delete from there. Save grief from what looks like a coding issue that's really not a coding issue!
How can I add my own blocking sources?
In version 3, adding my own sources was rather easy, it was in fact done through Luci.
In version 4, this is not possible it seems.
Looking into /etc/adblock, there is an adblock.sources.gz file. I uncompressed it, added my sources and compressed it again, but I get an error message once I head to the Overview in Luci, even after a reboot:
null is not an object (evaluating 'Object.keys(this.choices)')
I respected the formatting used with other lists, but it is always possible I added an error.
},
"energized_ultimate_pack": {
"url": "https://block.energized.pro/ultimate/formats/domains.txt"
"rule": "/^([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}"
"size": "XXL"
"focus": "compilation"
"descurl": "Flagship Protection Pack from Energized Protection, approx. 1m entries"
(Sorry I can't get tabs to display)
Please see the readme.
Nope, your regex looks wrong. Just copy & paste an existing "energized" entry, change the name & url and you're ready to go ...
Hi there!
For some reason you(pr0n).com appear in my adb_list.stevenblack when it isnt in the original StevenBlack's hosts file.
Also wondering why adb_list.stevenblack has 80k+ lines when the original host file has only 64k lines.
Adblock Version 4.0.4 on OpenWrt 19.07.0 r10860-a3ffeb413b
What 'original' did you mean? Please follow the link in the readme to StevenBlacks repository (with vairious list outputs), adblock is using this one: https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts
i oversight that there are different host files provided by stevenblack.
i have unchecked stevenblack because i can live without pr0n but i cannot live without fakenews.
good night and thank you for helping!
Just whitelist the sites you want to still work.
Hey, @dibdot, what's "Report Chunk Count (Report chunk count used by tcpdump.)" set to 5 in Advanced Report Settings? If I set it to 10, would "DNS Report" cover longer timespan as now it only covers about last 6 hours? I would like "DNS Report" to cover longer time frame
The readme, of course, I should have read it!
I had copied the regex I used in version 3, that explains why my regex looked wrong, the one in version 4 has changed slightly.
I made a copy of the adblock.sources.gz file as you suggest in the readme and renamed it adblockcopy.sources.gz. After decompressing the copy file, I edited it to add the following (sorry, I can't get the tabs to display):
},
"energized_ultimate_pack": {
"url": "https://raw.githubusercontent.com/EnergizedProtection/block/master/ultimate/formats/domains.txt",
"rule": "/^([[:alnum:]_-]+\\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($1)}",
"size": "XXL",
"focus": "compilation",
"descurl": "https://github.com/EnergizedProtection/block"
Once done, I compressed the file again.
Then, I headed to /etc/config/adblock and added the following line to it:
option adb_srcarc '/etc/adblock/adblockcopy.sources.gz'
I now got the new blocklist to appear in the dropdown list in the Blocklist Sources section. I selected it, deselected the previous list I used, restarted adblock but no domains are blocked (Blocked Domains shows 0)...
Interesting thing, an "x" was added at the end of the blocklist name in the drowpdown list.
The last part of the readme is not clear to me... What else do I need to do...?
What part am I not understanding correctly?
Ok, I managed to get my new list to load and block ads.
Here is how I managed:
Weird thing though, under Blocklist Sources, my new list is unselected and a warning message tells me that there is an invalid field. See screenshot.
Note that:
Yep, that's the intended use case for that. You can fine tune both options (chunk count and chunk size) - and please restart adblock after any report-related change to take effect.
most probably your given name is too long, just call it "energized_ultimate".
That was indeed the issue. Sorted!
Out of curiosity, I tried to add what Energized call extensions, but failed to have the list appear in the dropdown (I get a red error message). Could it be an issue with the url or size or focus..?
The entry I would like to add:
},
"energized_xtreme": {
"url": https://raw.githubusercontent.com/EnergizedProtection/block/master/extensions/xtreme/formats/domains.txt"
"rule": "/^([[:alnum:]_-]+\\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($1)}",
"size": "S"
"focus": "compilation"
"descurl": "https://github.com/EnergizedProtection/block"
What you've posted contains several JSON errors, e.g. missing backslash, missing commas and missing quotes ... this faulty JSON structure can't be parsed. Please always start with an existing entry. A valid entry should look like that (untested!):
[...]
},
"energized_xtreme": {
"url": "https://raw.githubusercontent.com/EnergizedProtection/block/master/extensions/xtreme/formats/domains.txt",
"rule": "/^([[:alnum:]_-]+\\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($1)}",
"size": "S",
"focus": "compilation",
"descurl": "https://github.com/EnergizedProtection/block"
},
[...]
Yesterday wasn't my day 
I missed a bunch of commas.
Lists now loaded and blocking ads.
Thanks for you help 
Hello. I've trying to install and configure adblock using this guide below:
https://openwrt.org/docs/guide-user/services/ad-blocking
But when I enter the uci set adblock.extra.adb_backup="1" command, it says:
uci: Invalid argument
what is the problem?
current adblock doesn't have an "extra" section, that's the reason for the error. Please consult only the online readme (see first post) and use the adblock LuCI frontend for any configuration aspects.