rosenrot-browser

A hackable browser based on Webkitgtk
Log | Files | Refs | README

commit 32a23e9a171d025f26d0c72a15fda8cbffecc314
parent fb340ed3fa7279fd005ecba525b2ddb384ad954f
Author: NunoSempere <nuno.sempere@protonmail.com>
Date:   Fri,  6 Oct 2023 15:44:47 +0100

formatting pass

Diffstat:
Mconfig.h | 4++--
Mplugins/libre_redirect/libre_redirect.c | 8++++----
Mrose.c | 2+-
3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/config.h b/config.h @@ -3,8 +3,8 @@ /* See more: * https://webkitgtk.org/reference/webkit2gtk/stable/class.Settings.html */ -#define WEBKIT \ - "enable-back-forward-navigation-gestures", true, "enable-developer-extras", true, \ +#define WEBKIT \ + "enable-back-forward-navigation-gestures", true, "enable-developer-extras", true, \ "enable-smooth-scrolling", false, \ "default-charset", "utf-8" diff --git a/plugins/libre_redirect/libre_redirect.c b/plugins/libre_redirect/libre_redirect.c @@ -37,8 +37,8 @@ int libre_redirect(const char* uri, char* output) "https://translate.google.com", "https://www.bloomberg.com", "https://www.royalroad.com", - "https://genius.com", - // "https://archive.org", + "https://genius.com", + // "https://archive.org", // "https://twitter.com" }; @@ -50,8 +50,8 @@ int libre_redirect(const char* uri, char* output) "https://translate.riverside.rocks/", "https://archive.today/https://www.bloomberg.com", "https://royalread.nunosempere.com", - "https://dumb.vern.cc", - // "https://wayback.nunosempere.com", + "https://dumb.vern.cc", + // "https://wayback.nunosempere.com", // "https://nitter.net" }; diff --git a/rose.c b/rose.c @@ -204,7 +204,7 @@ GtkWidget* handle_create_new_tab(WebKitWebView* self, } else { webkit_web_view_run_javascript(notebook_get_webview(notebook), "alert('Too many tabs, not opening a new one')", NULL, NULL, NULL); - return NULL; + return NULL; } /* WebKitGTK documentation recommends returning the new webview. * I imagine that this might allow e.g., to go back in a new tab