mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 10:01:39 -05:00
Fix #867: deprecate !js{,b}.
This commit is contained in:
parent
27100b0872
commit
59da8d417f
2 changed files with 2 additions and 4 deletions
|
@ -228,8 +228,8 @@ const DEFAULTS = o({
|
||||||
colorscheme: "colourscheme",
|
colorscheme: "colourscheme",
|
||||||
colors: "colourscheme",
|
colors: "colourscheme",
|
||||||
man: "help",
|
man: "help",
|
||||||
"!js": "js",
|
"!js": "fillcmdline !js is deprecated. Please use js instead: js ",
|
||||||
"!jsb": "jsb",
|
"!jsb": "fillcmdline !jsb is deprecated. Please use jsb instead: jsb ",
|
||||||
current_url: "composite get_current_url | fillcmdline_notrail ",
|
current_url: "composite get_current_url | fillcmdline_notrail ",
|
||||||
}),
|
}),
|
||||||
followpagepatterns: o({
|
followpagepatterns: o({
|
||||||
|
|
|
@ -3106,8 +3106,6 @@ export async function echo(...str: string[]) {
|
||||||
*
|
*
|
||||||
* Some of Tridactyl's functions are accessible here via the `tri` object. Just do `console.log(tri)` in the web console on the new tab page to see what's available.
|
* Some of Tridactyl's functions are accessible here via the `tri` object. Just do `console.log(tri)` in the web console on the new tab page to see what's available.
|
||||||
*
|
*
|
||||||
* Aliased to `!js`
|
|
||||||
*
|
|
||||||
* If you want to pipe an argument to `js`, you need to use the "-p" flag and then use the JS_ARG global variable, e.g:
|
* If you want to pipe an argument to `js`, you need to use the "-p" flag and then use the JS_ARG global variable, e.g:
|
||||||
*
|
*
|
||||||
* `composite get_current_url | js -p alert(JS_ARG)`
|
* `composite get_current_url | js -p alert(JS_ARG)`
|
||||||
|
|
Loading…
Add table
Reference in a new issue