Release history for lariza
+next
+ [Changed]
+ - The file "adblock.black" has been renamed to "adblock".
+
v20.08 2020-08-29
[Fixed]
- Middle-click to open in a new tab has been improved. In certain
wc = webkit_web_context_get_default();
- p = g_build_filename(g_get_user_config_dir(), __NAME__, "adblock.black", NULL);
+ p = g_build_filename(g_get_user_config_dir(), __NAME__, "adblock", NULL);
webkit_web_context_set_sandbox_enabled(wc, TRUE);
webkit_web_context_add_path_to_sandbox(wc, p, TRUE);
g_free(p);
.SH FILES
XDG variables will be used to construct these paths.
.TP
-\fI~/.config\:/lariza\:/adblock.black\fP
+\fI~/.config\:/lariza\:/adblock\fP
Adblock patterns. See \fBlariza.usage\fP(1).
.TP
\fI~/.config\:/lariza\:/certs\fP
.TP
\fBwe_adblock.so\fP
Generic adblock. Reads patterns from the file
-\fI~/.config/lariza/adblock.black\fP. Each line can contain a regular
+\fI~/.config/lariza/adblock\fP. Each line can contain a regular
expression. These expressions match case-insensitive and partially, i.e.
\fB.*foo.*\fP is the same as \fB.*FOO.*\fP and you can use anchors like
\fB^https?://...\fP. Please refer to
GIOChannel *channel = NULL;
gchar *path = NULL, *buf = NULL;
- path = g_build_filename(g_get_user_config_dir(), __NAME__, "adblock.black",
+ path = g_build_filename(g_get_user_config_dir(), __NAME__, "adblock",
NULL);
channel = g_io_channel_new_file(path, "r", &err);
if (channel != NULL)