diff options
author | Omar Rizwan <omar@omar.website> | 2021-01-10 15:06:52 -0800 |
---|---|---|
committer | Omar Rizwan <omar@omar.website> | 2021-01-10 15:06:52 -0800 |
commit | 5f6cad2c71889ba2fd11c0249852f6e0e1c220d4 (patch) | |
tree | 18470b722fb3521b8ab0a15a82a503c18eac1e80 | |
parent | 3c34988117236f0f2b11e773e9f5856adb039a45 (diff) |
sponsor updates, document debugger folder slightly better
-rw-r--r-- | README.md | 4 | ||||
-rwxr-xr-x | install.sh | 1 | ||||
-rw-r--r-- | tabfs.md | 11 |
3 files changed, 13 insertions, 3 deletions
@@ -1,3 +1,7 @@ # TabFS 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!) @@ -2,6 +2,7 @@ set -eux +# (Brave uses same path as Chrome, so for Brave, say `chrome`) if [[ "$#" -lt 1 || ( ! ( ( "$1" == "firefox" && "$#" -eq 1 ) || ( "$1" == "chrome" && "$#" -eq 2 && ${#2} -eq 32 ) || @@ -24,6 +24,10 @@ mounts your browser tabs as a filesystem on your computer. Out of the box, it supports Chrome and (to a lesser extent[^firefox]) Firefox, on macOS and Linux.[^otherbrowsers] +(**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!) + [^firefox]: because of the absence of the [chrome.debugger API for extensions](https://developer.chrome.com/docs/extensions/reference/debugger/). With a bit more plumbing, you could maybe find a way to connect it @@ -169,7 +173,7 @@ $ echo 'document.body.style.background = "green"' > mnt/tabs/last-focused/execut $ echo 'alert("hi!")' > mnt/tabs/last-focused/execute-script ``` -### Get images / scripts / etc on page +### Get images / scripts / other resource files from page (TODO: [document better](https://github.com/osnr/TabFS/issues/5), put in screenshots) @@ -177,9 +181,10 @@ The [`debugger/` subdirectory](https://github.com/osnr/TabFS/blob/fef9289e3a7f82cda6319d5f19d5a5f13f3cc44b/extension/background.js#L355) in each tab folder has synthetic files that let you access loaded resources (in `debugger/resources/`) and scripts (in -`debugger/scripts/`). +`debugger/scripts/`). -(this is experimental.) +Images will show up as actual PNG or JPEG files, scripts as actual JS +files, and so on. (this is experimental.) (TODO: edit the images in place? you can already kinda edit the scripts in place) |