Browse Source

fix resources/ suffix misuse bug, tweak README

master
Omar Rizwan 3 months ago
parent
commit
e1f9c5986a
  1. 3
      README.md
  2. 2
      extension/background.js

3
README.md

@ -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)**!)

2
extension/background.js

@ -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