mirror of
https://github.com/osnr/TabFS.git
synced 2024-05-06 15:46:34 +02:00
Firefox fixes, md update
This commit is contained in:
parent
86cf0a0ae8
commit
d588283fb2
|
@ -54,7 +54,7 @@ async function detachDebugger(tabId) {
|
||||||
}
|
}
|
||||||
const TabManager = (function() {
|
const TabManager = (function() {
|
||||||
if (TESTING) return;
|
if (TESTING) return;
|
||||||
chrome.debugger.onEvent.addListener((source, method, params) => {
|
if (chrome.debugger) chrome.debugger.onEvent.addListener((source, method, params) => {
|
||||||
console.log(source, method, params);
|
console.log(source, method, params);
|
||||||
if (method === "Page.frameStartedLoading") {
|
if (method === "Page.frameStartedLoading") {
|
||||||
// we're gonna assume we're always plugged into both Page and Debugger.
|
// we're gonna assume we're always plugged into both Page and Debugger.
|
||||||
|
@ -347,6 +347,7 @@ router["/tabs/by-id/*/control"] = {
|
||||||
|
|
||||||
// debugger/ : debugger-API-dependent (Chrome-only)
|
// debugger/ : debugger-API-dependent (Chrome-only)
|
||||||
(function() {
|
(function() {
|
||||||
|
if (!chrome.debugger) return;
|
||||||
// possible idea: console (using Log API instead of monkey-patching)
|
// possible idea: console (using Log API instead of monkey-patching)
|
||||||
// resources/
|
// resources/
|
||||||
// TODO: scripts/ TODO: allow creation, eval immediately
|
// TODO: scripts/ TODO: allow creation, eval immediately
|
||||||
|
|
28
tabfs.md
28
tabfs.md
|
@ -225,15 +225,17 @@ import a plotting library or whatever the same way? dragging
|
||||||
`imports.plotlib()` to invoke that JS file
|
`imports.plotlib()` to invoke that JS file
|
||||||
|
|
||||||
the browser has a lot of potential power as an interactive programming
|
the browser has a lot of potential power as an interactive programming
|
||||||
environment with built-in stuff. i think something that holds it back
|
environment, one where graphics come [as
|
||||||
that is underexplored is lack of ability to just... drag files in and
|
naturally](https://twitter.com/rsnous/status/1295828978477932544) as
|
||||||
manage them with decent tools. many Web-based 'IDEs' have to reinvent
|
console I/O do in most programming languages. i think something that
|
||||||
file management, etc from scratch, and it's like a separate universe
|
holds it back that is underexplored is lack of ability to just... drag
|
||||||
from the rest of your computer, and migrating between one and the
|
files in and manage them with decent tools. many Web-based 'IDEs' have
|
||||||
other is a real pain (if you want to use some Python library to munge
|
to reinvent file management, etc from scratch, and it's like a
|
||||||
some data and then have a Web-based visualization of it, for instance,
|
separate universe from the rest of your computer, and migrating
|
||||||
or if you want to version files inside it, or make snapshots so you
|
between one and the other is a real pain (if you want to use some
|
||||||
[feel
|
Python library to munge some data and then have a Web-based
|
||||||
|
visualization of it, for instance, or if you want to version files
|
||||||
|
inside it, or make snapshots so you [feel
|
||||||
comfortable](https://twitter.com/rsnous/status/1288725175895068673)
|
comfortable](https://twitter.com/rsnous/status/1288725175895068673)
|
||||||
trying stuff, etc).
|
trying stuff, etc).
|
||||||
|
|
||||||
|
@ -242,8 +244,12 @@ interesting because I almost want each tab to be [less of a
|
||||||
commodity](https://twitter.com/rsnous/status/1344753559007420416),
|
commodity](https://twitter.com/rsnous/status/1344753559007420416),
|
||||||
less
|
less
|
||||||
[disposable](https://twitter.com/rsnous/status/1270192308772691968),
|
[disposable](https://twitter.com/rsnous/status/1270192308772691968),
|
||||||
since it's the site I'm dragging stuff to and it might have some
|
since now it's the site I'm dragging stuff to and it might have some
|
||||||
persistent state attached)
|
persistent state attached. like, if I'm programming and editing stuff
|
||||||
|
and saving inside a tab's folder, that tab suddenly really
|
||||||
|
[matters](https://twitter.com/rsnous/status/1251863115022491653); I
|
||||||
|
want it to survive as long as a normal file would, unlike most browser
|
||||||
|
tabs today)
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue