From 97a17f66a514137bab1b77988ba3139bcb57cac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20K=C3=B6sters?= Date: Wed, 1 Aug 2018 11:16:41 +0200 Subject: [PATCH 1/3] Add No-Script-like JavaScript blocking --- doc/faq.asciidoc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/faq.asciidoc b/doc/faq.asciidoc index 7225f0f4e..b734d1e4a 100644 --- a/doc/faq.asciidoc +++ b/doc/faq.asciidoc @@ -105,6 +105,15 @@ Is there an adblocker?:: https://blog.mozilla.org/nnethercote/2014/05/14/adblock-pluss-effect-on-firefoxs-memory-usage/[RAM 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. + To disable JavaScript by default: ++ +---- +:set content.javascript.enabled false +---- ++ How do I play Youtube videos with mpv?:: You can easily add a key binding to play youtube videos inside a real video 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 2/3] 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 From e5ae244387f89e28635377b118db45b20e66817a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20K=C3=B6sters?= Date: Wed, 1 Aug 2018 13:51:03 +0200 Subject: [PATCH 3/3] Fix copy paste mistake --- doc/faq.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/faq.asciidoc b/doc/faq.asciidoc index 39d23a85a..4f9815cf2 100644 --- a/doc/faq.asciidoc +++ b/doc/faq.asciidoc @@ -117,7 +117,7 @@ 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). +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