commit: c5a130bb03ed75efca511bcea2e48931941062eb
parent 0e6872044a687fc93473cf043e1ea6afa06fb99a
Author: Stacy Harper <contact@stacyharper.net>
Date: Mon, 27 Dec 2021 17:57:41 +0100
badwolf.c: add ctrl+click to open link in new tab
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Diffstat:
6 files changed, 182 insertions(+), 130 deletions(-)
diff --git a/AUTHORS b/AUTHORS
@@ -5,4 +5,5 @@ Ngô Ngọc Đức Huy <huyngo@disroot.org>
nXecure <j.xecure@gmail.com>
Oğuz Ersen <oguzersen@protonmail.com>
Pedro Lucas Porcellis <porcellis@eletrotupi.com>
+Stacy Harper <contact@stacyharper.net>
striker.sh <strikersh@disroot.org>
diff --git a/badwolf.1 b/badwolf.1
@@ -27,6 +27,8 @@ if it works for the whole window, followed by the keybind it grabs.
Zooms the webpage in/out.
.It webview Ctrl-0
Resets webpage zoom to 100%.
+.It webview Ctrl-MousePrimary
+Opens the selected link in a new tab. (Note: JS still overrides the event)
.It any Ctrl-t
Creates a new tab (in a new session, similar as pressing the button)
.It browser Ctrl-F4, browser Alt-d
diff --git a/badwolf.c b/badwolf.c
@@ -323,12 +323,34 @@ static gboolean
WebViewCb_decide_policy(WebKitWebView *UNUSED(web_view),
WebKitPolicyDecision *decision,
WebKitPolicyDecisionType decision_type,
- gpointer UNUSED(user_data))
+ gpointer user_data)
{
WebKitResponsePolicyDecision *r;
+ struct Client *old_browser = (struct Client *)user_data;
switch(decision_type)
{
+ case WEBKIT_POLICY_DECISION_TYPE_NAVIGATION_ACTION:
+ WebKitNavigationPolicyDecision *n = WEBKIT_NAVIGATION_POLICY_DECISION(decision);
+ WebKitNavigationAction *navigation_action =
+ webkit_navigation_policy_decision_get_navigation_action(n);
+
+ if(GDK_CONTROL_MASK == webkit_navigation_action_get_modifiers(navigation_action))
+ {
+ WebKitURIRequest *uri = webkit_navigation_action_get_request(navigation_action);
+ const gchar *target_url = webkit_uri_request_get_uri(uri);
+ struct Client *browser = new_browser(old_browser->window, target_url, old_browser);
+
+ badwolf_new_tab(GTK_NOTEBOOK(browser->window->notebook), browser, FALSE);
+ webkit_web_view_load_uri(browser->webView, target_url);
+ webkit_policy_decision_ignore(decision);
+ }
+ else
+ {
+ /* Use whatever default there is. */
+ return FALSE;
+ }
+ break;
case WEBKIT_POLICY_DECISION_TYPE_RESPONSE:
r = WEBKIT_RESPONSE_POLICY_DECISION(decision);
if(!webkit_response_policy_decision_is_mime_type_supported(r))
@@ -857,7 +879,7 @@ new_browser(struct Window *window, const gchar *target_url, struct Client *old_b
g_signal_connect(browser->webView, "scroll-event", G_CALLBACK(WebViewCb_scroll_event), browser);
g_signal_connect(
browser->webView, "permission-request", G_CALLBACK(WebViewCb_permission_request), NULL);
- g_signal_connect(browser->webView, "decide-policy", G_CALLBACK(WebViewCb_decide_policy), NULL);
+ g_signal_connect(browser->webView, "decide-policy", G_CALLBACK(WebViewCb_decide_policy), browser);
g_signal_connect(browser->webView,
"load-failed-with-tls-errors",
G_CALLBACK(WebViewCb_load_failed_with_tls_errors),
diff --git a/badwolf.fr.1 b/badwolf.fr.1
@@ -38,6 +38,9 @@ entière, suivit par le raccourcis.
(Dé)-Grossir le zoom de la page.
.It vueweb Ctrl-0
Remettre le zoom de la page à 100%.
+.It vueweb Ctrl-SourisPremier
+Ouvrir le lien sélectionné dans un nouvel onglet. (Note: JS modifie
+quand-même l'action)
.It tout Ctrl-t
Créer un nouvel onglet (dans une nouvelle session, comme un apuis sur le
bouton dédié)
diff --git a/po/fr_man.po b/po/fr_man.po
@@ -2,12 +2,11 @@
# SPDX-License-Identifier: BSD-3-Clause
#
#, fuzzy
-
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: contact+badwolf-msgid@hacktivis.me\n"
-"POT-Creation-Date: 2022-07-13 10:35+0200\n"
+"POT-Creation-Date: 2022-09-19 18:17+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -18,6 +17,7 @@ msgstr ""
#. type: Dd
#: badwolf.1:4
+#, no-wrap
msgid "2022-07-13"
msgstr "2022-07-13"
@@ -125,146 +125,159 @@ msgstr "Remettre le zoom de la page à 100%."
#. type: It
#: badwolf.1:30
#, no-wrap
+msgid "webview Ctrl-MousePrimary"
+msgstr "vueweb Ctrl-SourisPremier"
+
+#. type: Plain text
+#: badwolf.1:32
+msgid ""
+"Opens the selected link in a new tab. (Note: JS still overrides the event)"
+msgstr ""
+"Ouvrir le lien sélectionné dans un nouvel onglet. (Note: JS modifie quand-même l'action)"
+
+#. type: It
+#: badwolf.1:32
+#, no-wrap
msgid "any Ctrl-t"
msgstr "tout Ctrl-t"
#. type: Plain text
-#: badwolf.1:32
+#: badwolf.1:34
msgid "Creates a new tab (in a new session, similar as pressing the button)"
msgstr ""
"Créer un nouvel onglet (dans une nouvelle session, comme un apuis sur le "
"bouton dédié)"
#. type: It
-#: badwolf.1:32
+#: badwolf.1:34
#, no-wrap
msgid "browser Ctrl-F4, browser Alt-d"
msgstr "navigateur Ctrl-F4, navigateur Alt-d"
#. type: Plain text
-#: badwolf.1:34
+#: badwolf.1:36
msgid "Closes the current tab"
msgstr "Fermer l'onglet courant."
#. type: It
-#: badwolf.1:34
+#: badwolf.1:36
#, no-wrap
msgid "browser Ctrl-f"
msgstr "navigateur Ctrl-f"
#. type: Plain text
-#: badwolf.1:36
+#: badwolf.1:38
msgid "Focuses on the search entry"
msgstr "Aller dans le champ de recherche."
#. type: It
-#: badwolf.1:36
+#: badwolf.1:38
#, no-wrap
msgid "browser Ctrl-l"
msgstr "navigateur Ctrl-l"
#. type: Plain text
-#: badwolf.1:38
+#: badwolf.1:40
msgid "Focuses on the location(URL) entry"
msgstr "Aller dans la barre d'URL."
#. type: It
-#: badwolf.1:38
+#: badwolf.1:40
#, no-wrap
msgid "browser Ctrl-Shift-r / Ctrl-r, browser F5"
msgstr "navigateur Ctrl-Maj-r / Ctrl-r, navigateur F5"
#. type: Plain text
-#: badwolf.1:40
+#: badwolf.1:42
msgid "Reloads the content in the current tab (with/without clearing cache)"
msgstr ""
"Recharger le contenu dans l'onglet courant (avec/sans nettoyer le cache)."
#. type: It
-#: badwolf.1:40
+#: badwolf.1:42
#, no-wrap
msgid "browser Escape"
msgstr "navigateur Échap"
#. type: Plain text
-#: badwolf.1:42
+#: badwolf.1:44
msgid "Stops loading the content in the current tab"
msgstr "Arrêter le chargement dans l'onglet courant."
#. type: It
-#: badwolf.1:42
+#: badwolf.1:44
#, no-wrap
msgid "browser F7"
msgstr "navigateur F7"
#. type: Plain text
-#: badwolf.1:44
+#: badwolf.1:46
msgid "Toggles caret browsing."
msgstr "(Dé)-Activer la navigation par curseur."
#. type: It
-#: badwolf.1:44
+#: badwolf.1:46
#, no-wrap
msgid "browser F12"
msgstr "navigateur F12"
#. type: Plain text
-#: badwolf.1:46
+#: badwolf.1:48
msgid "Opens the web inspector."
msgstr "Ouvrir les outils de dévelopement."
#. type: It
-#: badwolf.1:46
+#: badwolf.1:48
#, no-wrap
msgid "browser Ctrl-[ / Ctrl-]"
msgstr "navigateur Ctrl-[ / Ctrl-]"
#. type: Plain text
-#: badwolf.1:48
+#: badwolf.1:50
msgid "Go back/forward in current tab's history"
msgstr "Naviguer dans l'historique courrant précédent/suivant."
#. type: It
-#: badwolf.1:48
+#: badwolf.1:50
#, no-wrap
msgid "browser Ctrl-p"
msgstr "navigateur Ctrl-p"
#. type: Plain text
-#: badwolf.1:50
+#: badwolf.1:52
msgid "Print the current page. (spawns a dialog)"
msgstr "Imprimer la page courante. (ouvre une nouvelle fenêtre)"
#. type: It
-#: badwolf.1:50
+#: badwolf.1:52
#, no-wrap
msgid "any Alt-Left / Alt-Right"
msgstr "tout Alt-Gauche / Alt-Droite"
#. type: Plain text
-#: badwolf.1:52 badwolf.1:63
+#: badwolf.1:54 badwolf.1:65
msgid "Go to the previous/next tab"
msgstr "Aller à l'onglet précédent/suivant."
#. type: It
-#: badwolf.1:52
+#: badwolf.1:54
#, no-wrap
msgid "any F1"
msgstr "tout F1"
#. type: Plain text
-#: badwolf.1:54
+#: badwolf.1:56
msgid "Shows the about dialog"
msgstr "Montrer la fenêtre d'À Propos."
#. type: It
-#: badwolf.1:54
+#: badwolf.1:56
#, no-wrap
msgid "any Alt-n"
msgstr "tout Alt-n"
#. type: Plain text
-#: badwolf.1:57
+#: badwolf.1:59
msgid ""
"Where n is any numeric-row key. Go to the n-th tab, 0 goes to the last one."
msgstr ""
@@ -272,61 +285,61 @@ msgstr ""
"Aller à l'onglet n, 0 va au dernier."
#. type: Ss
-#: badwolf.1:58
+#: badwolf.1:60
#, no-wrap
msgid "DEFAULT ONES"
msgstr "PAR DÉFAULTS"
#. type: Plain text
-#: badwolf.1:60
+#: badwolf.1:62
msgid "Here is a incomplete list of the default Webkit/GTK keybindings:"
msgstr ""
"Ceci est une liste incomplète des raccourcis par défaults dans WebKit/GTK:"
#. type: It
-#: badwolf.1:61
+#: badwolf.1:63
#, no-wrap
msgid "any Ctrl-PageUp / Ctrl-PageDown"
msgstr "tout Ctrl-PageUp / Ctrl-PageDown"
#. type: It
-#: badwolf.1:63
+#: badwolf.1:65
#, no-wrap
msgid "search Ctrl-g / Ctrl-Shift-g"
msgstr "recherche Ctrl-g / Ctrl-Maj-g"
#. type: Plain text
-#: badwolf.1:65
+#: badwolf.1:67
msgid ""
"When the search box is focused it goes to the Next/Previous search term."
msgstr ""
"Quand le champ de recherche est actif, aller au résultat précédent/suivant."
#. type: It
-#: badwolf.1:65
+#: badwolf.1:67
#, no-wrap
msgid "search Escape"
msgstr "recherche Échap"
#. type: Plain text
-#: badwolf.1:67
+#: badwolf.1:69
msgid "Cancels current search"
msgstr "Annule la recherche actuelle."
#. type: Sh
-#: badwolf.1:68
+#: badwolf.1:70
#, no-wrap
msgid "ENVIRONMENT"
msgstr "ENVIRONMENT"
#. type: It
-#: badwolf.1:70
+#: badwolf.1:72
#, no-wrap
msgid "Ev BADWOLF_L10N"
msgstr "Ev BADWOLF_L10N"
#. type: Plain text
-#: badwolf.1:76
+#: badwolf.1:78
msgid ""
"A colon-separated list in the form lang_COUNTRY where lang is in ISO-639 and "
"COUNTRY in ISO-3166. For example E<.Ic BADWOLF_L10N=\"en_GB:fr_FR:de_DE"
@@ -341,7 +354,7 @@ msgstr ""
"Un nom plus générique est voulu pour le futur."
#. type: Plain text
-#: badwolf.1:81
+#: badwolf.1:83
msgid ""
"To get the list of supported dictionaries execute E<.Ic enchant-lsmod-2 -"
"list-dicts> or before enchant 2.0: E<.Ic enchant-lsmod -list-dicts>"
@@ -350,13 +363,13 @@ msgstr ""
"lsmod-2 -list-dicts> ou avant enchant 2.0: E<.Ic enchant-lsmod -list-dicts>"
#. type: Sh
-#: badwolf.1:82
+#: badwolf.1:84
#, no-wrap
msgid "FILES"
msgstr "FICHIERS"
#. type: Plain text
-#: badwolf.1:88
+#: badwolf.1:90
msgid ""
"The following paths are using E<.Xr sh 1> syntax to correctly support XDG "
"Base Directory Specification, you can use the E<.Xr echo 1> command to check "
@@ -367,13 +380,13 @@ msgstr ""
"commande E<.Xr echo 1> pour vérifier où cela se trouve sur votre système."
#. type: It
-#: badwolf.1:90
+#: badwolf.1:92
#, no-wrap
msgid "Pa ${XDG_CONFIG_HOME:-$HOME/.config}/badwolf/content-filters.json"
msgstr "Pa ${XDG_CONFIG_HOME:-$HOME/.config}/badwolf/content-filters.json"
#. type: Plain text
-#: badwolf.1:93
+#: badwolf.1:95
msgid ""
"WebKit-specific content-filter file, this allows to block unwanted content "
"(ads, nagware, ...). For some introductory information about the format see:"
@@ -383,25 +396,25 @@ msgstr ""
"Pour une introduction au format, voir (en anglais):"
#. type: Plain text
-#: badwolf.1:98
+#: badwolf.1:100
msgid "For a converter using AblockPlus-style filters, try:"
msgstr "Pour un convertiseur de filtres compatibles AdBlockPlus, essayez:"
#. type: Plain text
-#: badwolf.1:101
+#: badwolf.1:103
msgid "For a ready-to-use file (that you should update periodically), try:"
msgstr ""
"Pour un fichier prêt à l'usage (que vous devrez mettre à jour "
"périodiquement), essayez:"
#. type: It
-#: badwolf.1:102
+#: badwolf.1:104
#, no-wrap
msgid "Pa ${XDG_CACHE_HOME:-$HOME/.cache}/badwolf/filters"
msgstr "Pa ${XDG_CACHE_HOME:-$HOME/.cache}/badwolf/filters"
#. type: Plain text
-#: badwolf.1:105
+#: badwolf.1:107
msgid ""
"This is where the compiled filters are stored, the file(s) in it are "
"automatically generated and so shouldn't be edited. Documented here only "
@@ -413,13 +426,13 @@ msgstr ""
"d'accès."
#. type: It
-#: badwolf.1:105
+#: badwolf.1:107
#, no-wrap
msgid "Pa ${XDG_DATA_HOME:-$HOME/.local/share}/badwolf/bookmarks.xbel"
msgstr "Pa ${XDG_DATA_HOME:-$HOME/.local/share}/badwolf/bookmarks.xbel"
#. type: Plain text
-#: badwolf.1:110
+#: badwolf.1:112
msgid ""
"XBEL (XML Bookmark Exchange Language) file, known to be currently supported "
"by: E<.Xr elinks 1>, E<.Xr konqueror 1>, E<.Xr kbookmarkeditor 1 . Doing a "
@@ -433,28 +446,28 @@ msgstr ""
"fusionner plusieurs fichiers XBEL.>"
#. type: Plain text
-#: badwolf.1:112
+#: badwolf.1:114
msgid "For more information about this format see:"
msgstr "Pour plus d'information à propos du format, voir (en anglais):"
#. type: Plain text
-#: badwolf.1:115
+#: badwolf.1:117
msgid "For an example XBEL file see:"
msgstr "Pour un example de fichier XBEL voir:"
#. type: It
-#: badwolf.1:116
+#: badwolf.1:118
#, no-wrap
msgid "Pa ${XDG_DATA_HOME:-$HOME/.local/share}/badwolf/webkit-web-extension/"
msgstr "Pa ${XDG_DATA_HOME:-$HOME/.local/share}/badwolf/webkit-web-extension/"
#. type: Plain text
-#: badwolf.1:118
+#: badwolf.1:120
msgid "Directory containing the"
msgstr "Répertoire contenant les"
#. type: Plain text
-#: badwolf.1:121
+#: badwolf.1:123
msgid ""
"to be loaded into E<.Nm . Note: They aren't the JavaScript-based Web-"
"Extensions supported by Firefox or Chrome, but native code in shared objects "
@@ -465,24 +478,24 @@ msgstr ""
"des shared objects qui utilisent l'API WebKitGTK.>"
#. type: Plain text
-#: badwolf.1:123
+#: badwolf.1:125
msgid "Examples of useful extensions may be found at:"
msgstr "Des examples de quelques extensions utiles peuvent être trouvés sur:"
#. type: It
-#: badwolf.1:124
+#: badwolf.1:126
#, no-wrap
msgid "Pa ${DATADIR:-/usr/local/share}/badwolf/interface.css"
msgstr "Pa ${DATADIR:-/usr/local/share}/badwolf/interface.css"
#. type: It
-#: badwolf.1:125
+#: badwolf.1:127
#, no-wrap
msgid "Pa ${XDG_DATA_HOME:-$HOME/.local/share}/badwolf/interface.css"
msgstr "Pa ${XDG_DATA_HOME:-$HOME/.local/share}/badwolf/interface.css"
#. type: Plain text
-#: badwolf.1:130
+#: badwolf.1:132
msgid ""
"CSS files (respectively system and user-level) for styling E<.Nm> "
"interface. See"
@@ -492,12 +505,12 @@ msgstr ""
"Voir"
#. type: Plain text
-#: badwolf.1:132
+#: badwolf.1:134
msgid "for the properties being available."
msgstr "pour la liste des propriétés disponibles."
#. type: Plain text
-#: badwolf.1:138
+#: badwolf.1:140
msgid ""
"For testing your styles I would recommend using the E<.Ev "
"GTK_DEBUG=interactive> environment variable on launching E<.Nm> and going to "
@@ -507,28 +520,28 @@ msgstr ""
"Ev GTK_DEBUG=interactive> et d'aller à l'onglet CSS."
#. type: Sh
-#: badwolf.1:139
+#: badwolf.1:141
#, no-wrap
msgid "AUTHORS"
msgstr "AUTHORS"
#. type: Plain text
-#: badwolf.1:141
+#: badwolf.1:143
msgid "E<.An Haelwenn (lanodan) Monnier Aq Mt contact+badwolf@hacktivis.me>"
msgstr "E<.An Haelwenn (lanodan) Monnier Aq Mt contact+badwolf@hacktivis.me>"
#. type: Sh
-#: badwolf.1:141
+#: badwolf.1:143
#, no-wrap
msgid "BUGS"
msgstr "BUGS"
#. type: Plain text
-#: badwolf.1:143
+#: badwolf.1:145
msgid "You can submit contributions or tickets to"
msgstr "Vous pouvez soumettre des contributions ou des tickets à"
#. type: Plain text
-#: badwolf.1:146
+#: badwolf.1:148
msgid "with E<.Xr git-send-email 1> for patches."
msgstr "avec E<.Xr git-send-email 1> pour les modifications."
diff --git a/po/manpage.pot b/po/manpage.pot
@@ -4,9 +4,9 @@
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: Badwolf 1.2.0+g7057838a.develop\n"
+"Project-Id-Version: Badwolf 1.2.0+gc88b0cd.develop\n"
"Report-Msgid-Bugs-To: contact+badwolf-msgid@hacktivis.me\n"
-"POT-Creation-Date: 2022-07-13 10:35+0200\n"
+"POT-Creation-Date: 2022-09-19 18:17+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -116,199 +116,210 @@ msgstr ""
#. type: It
#: badwolf.1:30
#, no-wrap
-msgid "any Ctrl-t"
+msgid "webview Ctrl-MousePrimary"
msgstr ""
#. type: Plain text
#: badwolf.1:32
-msgid "Creates a new tab (in a new session, similar as pressing the button)"
+msgid "Opens the selected link in a new tab. (Note: JS still overrides the event)"
msgstr ""
#. type: It
#: badwolf.1:32
#, no-wrap
-msgid "browser Ctrl-F4, browser Alt-d"
+msgid "any Ctrl-t"
msgstr ""
#. type: Plain text
#: badwolf.1:34
-msgid "Closes the current tab"
+msgid "Creates a new tab (in a new session, similar as pressing the button)"
msgstr ""
#. type: It
#: badwolf.1:34
#, no-wrap
-msgid "browser Ctrl-f"
+msgid "browser Ctrl-F4, browser Alt-d"
msgstr ""
#. type: Plain text
#: badwolf.1:36
-msgid "Focuses on the search entry"
+msgid "Closes the current tab"
msgstr ""
#. type: It
#: badwolf.1:36
#, no-wrap
-msgid "browser Ctrl-l"
+msgid "browser Ctrl-f"
msgstr ""
#. type: Plain text
#: badwolf.1:38
-msgid "Focuses on the location(URL) entry"
+msgid "Focuses on the search entry"
msgstr ""
#. type: It
#: badwolf.1:38
#, no-wrap
-msgid "browser Ctrl-Shift-r / Ctrl-r, browser F5"
+msgid "browser Ctrl-l"
msgstr ""
#. type: Plain text
#: badwolf.1:40
-msgid "Reloads the content in the current tab (with/without clearing cache)"
+msgid "Focuses on the location(URL) entry"
msgstr ""
#. type: It
#: badwolf.1:40
#, no-wrap
-msgid "browser Escape"
+msgid "browser Ctrl-Shift-r / Ctrl-r, browser F5"
msgstr ""
#. type: Plain text
#: badwolf.1:42
-msgid "Stops loading the content in the current tab"
+msgid "Reloads the content in the current tab (with/without clearing cache)"
msgstr ""
#. type: It
#: badwolf.1:42
#, no-wrap
-msgid "browser F7"
+msgid "browser Escape"
msgstr ""
#. type: Plain text
#: badwolf.1:44
-msgid "Toggles caret browsing."
+msgid "Stops loading the content in the current tab"
msgstr ""
#. type: It
#: badwolf.1:44
#, no-wrap
-msgid "browser F12"
+msgid "browser F7"
msgstr ""
#. type: Plain text
#: badwolf.1:46
-msgid "Opens the web inspector."
+msgid "Toggles caret browsing."
msgstr ""
#. type: It
#: badwolf.1:46
#, no-wrap
-msgid "browser Ctrl-[ / Ctrl-]"
+msgid "browser F12"
msgstr ""
#. type: Plain text
#: badwolf.1:48
-msgid "Go back/forward in current tab's history"
+msgid "Opens the web inspector."
msgstr ""
#. type: It
#: badwolf.1:48
#, no-wrap
-msgid "browser Ctrl-p"
+msgid "browser Ctrl-[ / Ctrl-]"
msgstr ""
#. type: Plain text
#: badwolf.1:50
-msgid "Print the current page. (spawns a dialog)"
+msgid "Go back/forward in current tab's history"
msgstr ""
#. type: It
#: badwolf.1:50
#, no-wrap
+msgid "browser Ctrl-p"
+msgstr ""
+
+#. type: Plain text
+#: badwolf.1:52
+msgid "Print the current page. (spawns a dialog)"
+msgstr ""
+
+#. type: It
+#: badwolf.1:52
+#, no-wrap
msgid "any Alt-Left / Alt-Right"
msgstr ""
#. type: Plain text
-#: badwolf.1:52 badwolf.1:63
+#: badwolf.1:54 badwolf.1:65
msgid "Go to the previous/next tab"
msgstr ""
#. type: It
-#: badwolf.1:52
+#: badwolf.1:54
#, no-wrap
msgid "any F1"
msgstr ""
#. type: Plain text
-#: badwolf.1:54
+#: badwolf.1:56
msgid "Shows the about dialog"
msgstr ""
#. type: It
-#: badwolf.1:54
+#: badwolf.1:56
#, no-wrap
msgid "any Alt-n"
msgstr ""
#. type: Plain text
-#: badwolf.1:57
+#: badwolf.1:59
msgid "Where n is any numeric-row key. Go to the n-th tab, 0 goes to the last one."
msgstr ""
#. type: Ss
-#: badwolf.1:58
+#: badwolf.1:60
#, no-wrap
msgid "DEFAULT ONES"
msgstr ""
#. type: Plain text
-#: badwolf.1:60
+#: badwolf.1:62
msgid "Here is a incomplete list of the default Webkit/GTK keybindings:"
msgstr ""
#. type: It
-#: badwolf.1:61
+#: badwolf.1:63
#, no-wrap
msgid "any Ctrl-PageUp / Ctrl-PageDown"
msgstr ""
#. type: It
-#: badwolf.1:63
+#: badwolf.1:65
#, no-wrap
msgid "search Ctrl-g / Ctrl-Shift-g"
msgstr ""
#. type: Plain text
-#: badwolf.1:65
+#: badwolf.1:67
msgid "When the search box is focused it goes to the Next/Previous search term."
msgstr ""
#. type: It
-#: badwolf.1:65
+#: badwolf.1:67
#, no-wrap
msgid "search Escape"
msgstr ""
#. type: Plain text
-#: badwolf.1:67
+#: badwolf.1:69
msgid "Cancels current search"
msgstr ""
#. type: Sh
-#: badwolf.1:68
+#: badwolf.1:70
#, no-wrap
msgid "ENVIRONMENT"
msgstr ""
#. type: It
-#: badwolf.1:70
+#: badwolf.1:72
#, no-wrap
msgid "Ev BADWOLF_L10N"
msgstr ""
#. type: Plain text
-#: badwolf.1:76
+#: badwolf.1:78
msgid ""
"A colon-separated list in the form lang_COUNTRY where lang is in ISO-639 and "
"COUNTRY in ISO-3166. For example E<.Ic "
@@ -318,20 +329,20 @@ msgid ""
msgstr ""
#. type: Plain text
-#: badwolf.1:81
+#: badwolf.1:83
msgid ""
"To get the list of supported dictionaries execute E<.Ic enchant-lsmod-2 "
"-list-dicts> or before enchant 2.0: E<.Ic enchant-lsmod -list-dicts>"
msgstr ""
#. type: Sh
-#: badwolf.1:82
+#: badwolf.1:84
#, no-wrap
msgid "FILES"
msgstr ""
#. type: Plain text
-#: badwolf.1:88
+#: badwolf.1:90
msgid ""
"The following paths are using E<.Xr sh 1> syntax to correctly support XDG "
"Base Directory Specification, you can use the E<.Xr echo 1> command to check "
@@ -339,13 +350,13 @@ msgid ""
msgstr ""
#. type: It
-#: badwolf.1:90
+#: badwolf.1:92
#, no-wrap
msgid "Pa ${XDG_CONFIG_HOME:-$HOME/.config}/badwolf/content-filters.json"
msgstr ""
#. type: Plain text
-#: badwolf.1:93
+#: badwolf.1:95
msgid ""
"WebKit-specific content-filter file, this allows to block unwanted content "
"(ads, nagware, ...). For some introductory information about the format "
@@ -353,23 +364,23 @@ msgid ""
msgstr ""
#. type: Plain text
-#: badwolf.1:98
+#: badwolf.1:100
msgid "For a converter using AblockPlus-style filters, try:"
msgstr ""
#. type: Plain text
-#: badwolf.1:101
+#: badwolf.1:103
msgid "For a ready-to-use file (that you should update periodically), try:"
msgstr ""
#. type: It
-#: badwolf.1:102
+#: badwolf.1:104
#, no-wrap
msgid "Pa ${XDG_CACHE_HOME:-$HOME/.cache}/badwolf/filters"
msgstr ""
#. type: Plain text
-#: badwolf.1:105
+#: badwolf.1:107
msgid ""
"This is where the compiled filters are stored, the file(s) in it are "
"automatically generated and so shouldn't be edited. Documented here only "
@@ -377,13 +388,13 @@ msgid ""
msgstr ""
#. type: It
-#: badwolf.1:105
+#: badwolf.1:107
#, no-wrap
msgid "Pa ${XDG_DATA_HOME:-$HOME/.local/share}/badwolf/bookmarks.xbel"
msgstr ""
#. type: Plain text
-#: badwolf.1:110
+#: badwolf.1:112
msgid ""
"XBEL (XML Bookmark Exchange Language) file, known to be currently supported "
"by: E<.Xr elinks 1>, E<.Xr konqueror 1>, E<.Xr kbookmarkeditor 1 . Doing a "
@@ -392,28 +403,28 @@ msgid ""
msgstr ""
#. type: Plain text
-#: badwolf.1:112
+#: badwolf.1:114
msgid "For more information about this format see:"
msgstr ""
#. type: Plain text
-#: badwolf.1:115
+#: badwolf.1:117
msgid "For an example XBEL file see:"
msgstr ""
#. type: It
-#: badwolf.1:116
+#: badwolf.1:118
#, no-wrap
msgid "Pa ${XDG_DATA_HOME:-$HOME/.local/share}/badwolf/webkit-web-extension/"
msgstr ""
#. type: Plain text
-#: badwolf.1:118
+#: badwolf.1:120
msgid "Directory containing the"
msgstr ""
#. type: Plain text
-#: badwolf.1:121
+#: badwolf.1:123
msgid ""
"to be loaded into E<.Nm . Note: They aren't the JavaScript-based "
"Web-Extensions supported by Firefox or Chrome, but native code in shared "
@@ -421,36 +432,36 @@ msgid ""
msgstr ""
#. type: Plain text
-#: badwolf.1:123
+#: badwolf.1:125
msgid "Examples of useful extensions may be found at:"
msgstr ""
#. type: It
-#: badwolf.1:124
+#: badwolf.1:126
#, no-wrap
msgid "Pa ${DATADIR:-/usr/local/share}/badwolf/interface.css"
msgstr ""
#. type: It
-#: badwolf.1:125
+#: badwolf.1:127
#, no-wrap
msgid "Pa ${XDG_DATA_HOME:-$HOME/.local/share}/badwolf/interface.css"
msgstr ""
#. type: Plain text
-#: badwolf.1:130
+#: badwolf.1:132
msgid ""
"CSS files (respectively system and user-level) for styling E<.Nm> "
"interface. See"
msgstr ""
#. type: Plain text
-#: badwolf.1:132
+#: badwolf.1:134
msgid "for the properties being available."
msgstr ""
#. type: Plain text
-#: badwolf.1:138
+#: badwolf.1:140
msgid ""
"For testing your styles I would recommend using the E<.Ev "
"GTK_DEBUG=interactive> environment variable on launching E<.Nm> and going to "
@@ -458,28 +469,28 @@ msgid ""
msgstr ""
#. type: Sh
-#: badwolf.1:139
+#: badwolf.1:141
#, no-wrap
msgid "AUTHORS"
msgstr ""
#. type: Plain text
-#: badwolf.1:141
+#: badwolf.1:143
msgid "E<.An Haelwenn (lanodan) Monnier Aq Mt contact+badwolf@hacktivis.me>"
msgstr ""
#. type: Sh
-#: badwolf.1:141
+#: badwolf.1:143
#, no-wrap
msgid "BUGS"
msgstr ""
#. type: Plain text
-#: badwolf.1:143
+#: badwolf.1:145
msgid "You can submit contributions or tickets to"
msgstr ""
#. type: Plain text
-#: badwolf.1:146
+#: badwolf.1:148
msgid "with E<.Xr git-send-email 1> for patches."
msgstr ""