Merge pull request #4103 from timokoesters/patch-1

Add No-Script-like JavaScript blocking to FAQ
This commit is contained in:
Fritz Reichwald 2018-08-01 14:48:49 +02:00 committed by GitHub
commit edb23ebe3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,6 +106,19 @@ Is there an adblocker?::
usage], so implementing support for AdBlockPlus-like lists is currently not usage], so implementing support for AdBlockPlus-like lists is currently not
a priority. a priority.
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.
With `u` instead of `h`, only the current URL is whitelisted (not the whole host).
How do I play Youtube videos with mpv?:: How do I play Youtube videos with mpv?::
You can easily add a key binding to play youtube videos inside a real video You can easily add a key binding to play youtube videos inside a real video
player - optionally even with hinting for links: player - optionally even with hinting for links: