summaryrefslogtreecommitdiff
path: root/.w3m/cgi-bin/omnibar_piratebay.cgi
diff options
context:
space:
mode:
Diffstat (limited to '.w3m/cgi-bin/omnibar_piratebay.cgi')
-rwxr-xr-x.w3m/cgi-bin/omnibar_piratebay.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/.w3m/cgi-bin/omnibar_piratebay.cgi b/.w3m/cgi-bin/omnibar_piratebay.cgi
new file mode 100755
index 0000000..b2c36e0
--- /dev/null
+++ b/.w3m/cgi-bin/omnibar_piratebay.cgi
@@ -0,0 +1,4 @@
+#!/usr/bin/env sh
+QUERY_STRING="${QUERY_STRING//+/%20}"
+echo "w3m-control: BACK"
+echo "w3m-control: TAB_GOTO https://thepiratebay10.org/search/$QUERY_STRING"