Change for adblock plus easylist block check. - bitreich-httpd - Bitreich HTTPD… | |
git clone git://bitreich.org/bitreich-httpd git://enlrupgkhuxnvlhsf6lc3fziv5h2h… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 59558e41c3f5da41a1c855998af2a91c8a202004 | |
parent 040d5eece2d8e537f7ea2bd0295b5a9ca3522431 | |
Author: Christoph Lohmann <[email protected]> | |
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(-) | |
--- | |
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); |