diff options
author | Omar Rizwan <omar@omar.website> | 2024-12-28 09:34:41 -0500 |
---|---|---|
committer | Omar Rizwan <omar@omar.website> | 2024-12-28 09:34:41 -0500 |
commit | cdf0f2e2dc7dba28c8e82ddb6842a4efc63547b2 (patch) | |
tree | 1d77bc51a7405cbc9c2592e82c17e0b646d01650 | |
parent | 52eb7131650386fedc4c2477c1e7fc2fc06adaa3 (diff) | |
download | TabFS-cdf0f2e2dc7dba28c8e82ddb6842a4efc63547b2.tar.gz TabFS-cdf0f2e2dc7dba28c8e82ddb6842a4efc63547b2.zip |
-rw-r--r-- | extension/background.js | 2 | ||||
-rw-r--r-- | web/tabfs.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extension/background.js b/extension/background.js index 64d8dd2..c6cf5b8 100644 --- a/extension/background.js +++ b/extension/background.js @@ -473,7 +473,7 @@ Read that file to evaluate and return the current value of that JS expression.`, }) }; })(); -Routes["/windows/#WINDOW_ID/crate"] = { +Routes["/windows/#WINDOW_ID/create"] = { async write({windowId, buf}) { const url = buf.trim(); await browser.tabs.create({ windowId: windowId, url: url }); diff --git a/web/tabfs.md b/web/tabfs.md index ed9f31a..7045c8f 100644 --- a/web/tabfs.md +++ b/web/tabfs.md @@ -144,7 +144,7 @@ $ echo about:blank > mnt/tabs/create or in a specific window: ``` -$ about:blank > windows/<ID>/crate +$ echo about:blank > windows/<ID>/create ``` #### btw |