diff options
author | Omar Rizwan <omar.rizwan@gmail.com> | 2020-12-02 20:24:20 -0800 |
---|---|---|
committer | Omar Rizwan <omar.rizwan@gmail.com> | 2020-12-02 20:24:20 -0800 |
commit | 22aaeaa9e139e960c7b8c819962e7ff0de95ff71 (patch) | |
tree | b3281133240666fd332fb5d21a8755e99b6d937f /README.md | |
parent | 506751b3d5b2b479ffe703acdac8fb595646ab25 (diff) |
base64 reads. start working on screenshot stuff.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 24 |
1 files changed, 14 insertions, 10 deletions
@@ -51,14 +51,17 @@ $ cat mnt/tabs/by-id/*/text > text.txt ## Setup +**disclaimer**: security, functionality + First, install the browser extension. Then, install the C filesystem. ### 1. Install the browser extension -(I think it will work on Edge or Opera or whatever, too. You'll need to -change the native messaging path in install.sh in those cases.) +(I think it will work on Edge or Opera or whatever, too. You'll need +to change the native messaging path in install.sh in those cases. Not +sure about Safari.) #### in Chrome @@ -67,7 +70,7 @@ Developer mode (top-right corner). Load-unpacked the `extension/` folder in this repo. -Make a note of the extension ID. Mine is +**Make a note of the extension ID Chrome assigns.** Mine is `jimpolemfaeckpjijgapgkmolankohgj`. We'll use this later. #### in Firefox @@ -134,11 +137,12 @@ operations, even when I don't feel like I'm actually doing anything.) ## Design -- `extension/`: Browser extension, written in JS - - [`background.js`](extension/background.js): **The most interesting file**. Defines all the - synthetic files and what browser operations they map to. - `fs/`: Native FUSE filesystem, written in C - [`tabfs.c`](fs/tabfs.c): Talks to FUSE, implements fs operations, talks to extension. +- `extension/`: Browser extension, written in JS + - [`background.js`](extension/background.js): **The most interesting + file**. Defines all the synthetic files and what browser + operations they invoke behind the scenes. <!-- TODO: concretize this --> @@ -172,6 +176,10 @@ GPLv3 ## hmm +processes as files. the real process is the browser. + +browser and Unix + it's way too hard to make an extension. even 'make an extension' is a bad framing. lightness @@ -186,9 +194,5 @@ fake filesystems talk Screenotate -processes as files. the real process is the browser. - -browser and Unix - rmdir a non-empty directory |