From f22dbfb6f59aa2bbd289d93834dfdc0a27870b4f Mon Sep 17 00:00:00 2001 From: Miciah Dashiel Butler Masters Date: Fri, 20 Oct 2006 21:04:52 +0000 Subject: [PATCH] SMJS: block_pr0n: return the original URI if not blocking it Return the original URI instead of the value true, so that any later hooks will have the URI. --- contrib/smjs/hooks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/smjs/hooks.js b/contrib/smjs/hooks.js index 55fa1ae89..7973640ac 100644 --- a/contrib/smjs/hooks.js +++ b/contrib/smjs/hooks.js @@ -74,7 +74,7 @@ function block_pr0n(uri) { return ""; } - return true; + return uri; } elinks.follow_url_hooks.push(block_pr0n);