Browse Source

fix resources/ suffix misuse bug, tweak README

master
Omar Rizwan 3 weeks ago
parent
commit
e1f9c5986a
2 changed files with 2 additions and 3 deletions
  1. +1
    -2
      README.md
  2. +1
    -1
      extension/background.js

+ 1
- 2
README.md View File

@ -3,5 +3,4 @@
See <https://omar.website/tabfs/>.
(**update**: You can now **[sponsor further development of
TabFS](https://github.com/sponsors/osnr)** and help to turn it from an
experiment into something really reliable and useful!)
TabFS](https://github.com/sponsors/osnr)**!)

+ 1
- 1
extension/background.js View File

@ -364,7 +364,7 @@ Router["/tabs/by-id/#TAB_ID/control"] = {
return { entries: [".", "..", ...frameTree.resources.map(r => sanitize(String(r.url)))] };
}
};
Router["/tabs/by-id/#TAB_ID/debugger/resources/:SUFFIX"] = defineFile(async ({path, tabId}) => {
Router["/tabs/by-id/#TAB_ID/debugger/resources/:SUFFIX"] = defineFile(async ({path, tabId, suffix}) => {
await TabManager.debugTab(tabId); await TabManager.enableDomainForTab(tabId, "Page");
const {frameTree} = await sendDebuggerCommand(tabId, "Page.getResourceTree", {});


Loading…
Cancel
Save