Change for adblock plus easylist block check. - bitreich-httpd - Bitreich HTTPD service
HTML git clone git://bitreich.org/bitreich-httpd git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/bitreich-httpd
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 59558e41c3f5da41a1c855998af2a91c8a202004
DIR parent 040d5eece2d8e537f7ea2bd0295b5a9ca3522431
HTML Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 22 Dec 2024 14:14:05 +0100
Change for adblock plus easylist block check.
Diffstat:
M bitreich-httpd.c | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
DIR diff --git a/bitreich-httpd.c b/bitreich-httpd.c
@@ -299,6 +299,9 @@ main(int argc, char *argv[])
} else if (strstr(request, "snow.js")) {
asprintf(&path, "%s/s/snow.js", wwwbase);
ctype = "text/javascript";
+ } else if (strstr(request, "ads-prebid-wp-ads-banner.js")) {
+ asprintf(&path, "%s/s/ads-prebid-wp-ads-banner.js", wwwbase);
+ ctype = "text/javascript";
} else if (strstr(request, "yolo-css-")) {
/* We hate CSS in here. */
sleep(1);