formatting pass
This commit is contained in:
parent
fb340ed3fa
commit
32a23e9a17
4
config.h
4
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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
};
|
||||
|
||||
|
|
2
rose.c
2
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user