summaryrefslogtreecommitdiff
path: root/.w3m/cgi-bin/fn_closetab_stash.cgi
diff options
context:
space:
mode:
Diffstat (limited to '.w3m/cgi-bin/fn_closetab_stash.cgi')
-rwxr-xr-x.w3m/cgi-bin/fn_closetab_stash.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/.w3m/cgi-bin/fn_closetab_stash.cgi b/.w3m/cgi-bin/fn_closetab_stash.cgi
new file mode 100755
index 0000000..7b4c733
--- /dev/null
+++ b/.w3m/cgi-bin/fn_closetab_stash.cgi
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+echo "$W3M_URL" >> ~/.w3m/RestoreTab.txt
+echo "W3m-control: CLOSE_TAB"