I don't know enough about how this works to figure out how to work around it so I reverted to blocking ads at the router with a hosts file. NoScript provides too many other benefits so I had to keep it and stop using pi-hole.
I don't know enough about how this works to figure out how to work around it so I reverted to blocking ads at the router with a hosts file. NoScript provides too many other benefits so I had to keep it and stop using pi-hole.
I'm not a dev but looking very quickly at pihole it seems it serves an index.html file (https://pi-hole.net/faq/is-it-possible-to-change-the-blank-p...) in place of ad content, you might make that a link to /dev/null or just make it a blank file, and see if that works? I suspect it won't as the ABE is checking for the correct origin of content and pihole is spoofing the origin.
This might work, using https://noscript.net/abe/abe_rules.pdf, but I'd ask at the NoScript forums. The rules cascade so it would need to go at the top.
#ABE rules
# ALL matches any URI
# accept lets it happen, sandbox and anon probably would be fine too
# INCLUSION is any sub-page level part, like images and such, can specify further which inclusions
# LOCAL is any local address including those in noscript.ABE.localExtras (see about:config);
Site ALL
Accept INCLUSION from LOCAL
# Deny # probably only needs that if you're not prepending already made rules??
That might negate much of ABE though as you're letting external sites reference anything that they find on the local domain.Let me know if it works!