summaryrefslogtreecommitdiff
path: root/extension/background.js
diff options
context:
space:
mode:
authorOmar Rizwan <omar@omar.website>2021-03-14 16:12:55 -0700
committerOmar Rizwan <omar@omar.website>2021-03-14 16:12:55 -0700
commit8f33a2feab62fe6f4cc974f43de84dbbdb7b42e0 (patch)
treeee87cea11a487d7f6b772050f6e735dd33283a8f /extension/background.js
parent922e2bb6a369726ba029dc7dc7031c881780e231 (diff)
downloadTabFS-8f33a2feab62fe6f4cc974f43de84dbbdb7b42e0.tar.gz
TabFS-8f33a2feab62fe6f4cc974f43de84dbbdb7b42e0.zip
extension: source.html -> body.html
Diffstat (limited to 'extension/background.js')
-rw-r--r--extension/background.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/background.js b/extension/background.js
index ecb16cf..f4737d0 100644
--- a/extension/background.js
+++ b/extension/background.js
@@ -263,7 +263,7 @@ router["/tabs/by-id"] = {
router["/tabs/by-id/*/url.txt"] = withTab(tab => tab.url + "\n", buf => ({ url: buf }));
router["/tabs/by-id/*/title.txt"] = withTab(tab => tab.title + "\n");
router["/tabs/by-id/*/text.txt"] = fromScript(`document.body.innerText`);
- router["/tabs/by-id/*/source.html"] = fromScript(`document.body.innerHTML`);
+ router["/tabs/by-id/*/body.html"] = fromScript(`document.body.innerHTML`);
// echo true > mnt/tabs/by-id/1644/active
// cat mnt/tabs/by-id/1644/active