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);