aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extension/background.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/extension/background.js b/extension/background.js
index 179a2b8..129b956 100644
--- a/extension/background.js
+++ b/extension/background.js
@@ -227,6 +227,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`);
})();
(function() {
let nextConsoleFh = 0; let consoleForFh = {};