summaryrefslogtreecommitdiff
path: root/doc/userscripts.asciidoc
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2015-04-09 17:45:16 +0200
committerFlorian Bruhin <git@the-compiler.org>2015-04-09 17:45:16 +0200
commit2d8df76609743b4dd1c4b55863df437b6166d894 (patch)
treee09095f141cc2b213f5e431759ab36ac65b2a472 /doc/userscripts.asciidoc
parentecb0a4e2f8b7cfcddfa944b6aeface2082907a4b (diff)
downloadqutebrowser-2d8df76609743b4dd1c4b55863df437b6166d894.tar.gz
qutebrowser-2d8df76609743b4dd1c4b55863df437b6166d894.zip
Add $QUTE_HTML and $QUTE_TEXT for userscripts.
Diffstat (limited to 'doc/userscripts.asciidoc')
-rw-r--r--doc/userscripts.asciidoc2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/userscripts.asciidoc b/doc/userscripts.asciidoc
index 0e34f5d4d..e9ae01cf8 100644
--- a/doc/userscripts.asciidoc
+++ b/doc/userscripts.asciidoc
@@ -24,6 +24,8 @@ The following environment variables will be set when an userscript is launched:
command or key binding).
- `QUTE_USER_AGENT`: The currently set user agent.
- `QUTE_FIFO`: The FIFO or file to write commands to.
+- `QUTE_HTML`: The HTML source of the current page.
+- `QUTE_TEXT`: The plaintext of the current page.
In `command` mode: