From 5f6cad2c71889ba2fd11c0249852f6e0e1c220d4 Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Sun, 10 Jan 2021 15:06:52 -0800 Subject: [PATCH] sponsor updates, document debugger folder slightly better --- README.md | 4 ++++ install.sh | 1 + tabfs.md | 11 ++++++++--- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f002452..5d7e987 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ # TabFS See . + +(**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!) diff --git a/install.sh b/install.sh index 04c1c0a..103101e 100755 --- a/install.sh +++ b/install.sh @@ -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 ) || diff --git a/tabfs.md b/tabfs.md index 230d04b..8fa9c87 100644 --- a/tabfs.md +++ b/tabfs.md @@ -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)