mirror of
https://github.com/osnr/TabFS.git
synced 2024-06-14 11:45:07 +02:00
sponsor updates, document debugger folder slightly better
This commit is contained in:
parent
3c34988117
commit
5f6cad2c71
|
@ -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 ) ||
|
||||
|
|
9
tabfs.md
9
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)
|
||||
|
||||
|
@ -179,7 +183,8 @@ in each tab folder has synthetic files that let you access loaded
|
|||
resources (in `debugger/resources/`) and scripts (in
|
||||
`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)
|
||||
|
|
Loading…
Reference in a new issue