From d59d1c1f9d1a665909bcf65445d71055fe08461f Mon Sep 17 00:00:00 2001 From: jun7 Date: Thu, 19 Mar 2020 20:34:34 +0900 Subject: [PATCH] is simple-adblock.com gone? --- README.md | 3 +-- ab.c | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2adf97b..695b2dc 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,7 @@ copy the **easylist.txt** to ~/.config/wyebadblock/ wyebadblock only checks 'easylist.txt' -Testing element hiding is not supported though, -You can check whether it works on http://simple-adblock.com/faq/testing-your-adblocker/ +You can check whether wyebab has found easylist.txt by `wyebab --css` ## Addition for other webkit2gtk browsers diff --git a/ab.c b/ab.c index f6ddee7..943f5fa 100644 --- a/ab.c +++ b/ab.c @@ -214,6 +214,11 @@ int main(int argc, char **argv) else if (!strcmp(argv[1], "-css") || !strcmp(argv[1], "--css")) { init(); + if (!initt) + { + g_print("#There is no "LISTNAME"\n"); + exit(0); + } g_thread_join(initt); g_print("%s", tester->blockcss->str);