Introduction
Introduction Statistics Contact Development Disclaimer Help
Support PDFs - surf - surf browser, a WebKit based browser
git clone git://git.suckless.org/surf
Log
Files
Refs
README
LICENSE
---
commit 22cc5ceee2bb1e627457bbbdb4b80734bd25f4a4
parent c3b3b95f4a4b1c84ec6f320d51d31364186bb84b
Author: Artyom Bologov <[email protected]>
Date: Sat, 14 Sep 2024 04:52:49 +0400
Support PDFs
Diffstat:
M surf.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
diff --git a/surf.c b/surf.c
@@ -1701,6 +1701,7 @@ decideresource(WebKitPolicyDecision *d, Client *c)
&& !g_str_has_prefix(uri, "webkit://")
&& !g_str_has_prefix(uri, "data:")
&& !g_str_has_prefix(uri, "blob:")
+ && !g_str_has_prefix(uri, "webkit-pdfjs-viewer://")
&& strlen(uri) > 0) {
for (i = 0; i < strlen(uri); i++) {
if (!g_ascii_isprint(uri[i])) {
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.