From 9d848799d5ee9d11e10b018593c997620b2a9feb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20K=C3=B6sters?= Date: Wed, 1 Aug 2018 13:43:01 +0200 Subject: [PATCH] Add details on how to use other variants of JavaScript exception commands --- doc/faq.asciidoc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/faq.asciidoc b/doc/faq.asciidoc index b734d1e4a..39d23a85a 100644 --- a/doc/faq.asciidoc +++ b/doc/faq.asciidoc @@ -106,14 +106,18 @@ Is there an adblocker?:: usage], so implementing support for AdBlockPlus-like lists is currently not a priority. -How can I get No-Script-like behaviour?:: - You can toggle JavaScript blocking for the current domain with `tsh` by default. +How can I get No-Script-like behavior?:: To disable JavaScript by default: + ---- :set content.javascript.enabled false ---- + +The basic command for enabling JavaScript for the current host is `tsh`. +This will allow JavaScript execution for the current session. +Use `S` instead of `s` to make the exception permanent. +With `H` instead of `h`, subdomains are included. +Use S instead of s to make the exception permanent. With H instead of h, subdomains are included. With u instead of h, only the current URL is whitelisted (not the whole host).With `u` instead of `h`, only the current URL is whitelisted (not the whole host). How do I play Youtube videos with mpv?:: You can easily add a key binding to play youtube videos inside a real video