From 7d05f76b40090316c28a4fcc09ef2f9511357d72 Mon Sep 17 00:00:00 2001 From: Oliver Blanthorn Date: Fri, 20 Sep 2019 19:10:45 +0100 Subject: [PATCH] Improve source URL help --- src/excmds.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/excmds.ts b/src/excmds.ts index fd56a879..7be77f11 100644 --- a/src/excmds.ts +++ b/src/excmds.ts @@ -726,7 +726,9 @@ export async function mktridactylrc(...args: string[]) { * * If no argument given, it will try to open ~/.tridactylrc, ~/.config/tridactyl/tridactylrc or $XDG_CONFIG_HOME/tridactyl/tridactylrc in reverse order. You may use a `_` in place of a leading `.` if you wish, e.g, if you use Windows. * - * If no url is specified with the `--url` flag, the current page's URL is used to locate the RC file. + * If no url is specified with the `--url` flag, the current page's URL is used to locate the RC file. Ensure the URL you pass (or page you are on) is a "raw" RC file, e.g. https://raw.githubusercontent.com/tridactyl/tridactyl/master/.tridactylrc and not https://github.com/tridactyl/tridactyl/blob/master/.tridactylrc. + * + * Tridactyl won't run on many raw pages due to a Firefox bug with Content Security Policy, so you may need to use the `source --url [URL]` form. * * On Windows, the `~` expands to `%USERPROFILE%`. *