[L2Ork-dev] json?

Jonathan Wilkes jon.w.wilkes at gmail.com
Sun Jan 24 19:22:48 EST 2021


On Sun, Jan 24, 2021 at 5:55 PM Marc Lavallée <marc at hacklava.net> wrote:
>
> Le 21-01-24 à 18 h 09, Jonathan Wilkes a écrit :
>
> > Unfortunately, Chromium tries to make untold numbers of random
> > connections to the internet. So in Purr Data I had to block it
> > completely and rely on node.js to send and receive between GUI<-->Pd.
> > So if you want your html page to have net access (or if you want to
> > load a page from the web), you have to go in to Purr Data's
> > package.json and remove the proxy command in "--chromium-args" entry
> > that blocks Chromium from chattering. (The package.json is in the same
> > directory as pdgui.js, pd_canvas.js, etc.)
> >
> > Best,
> > Jonathan
>
> Could it be caused by telemetry and similar features?

There are some legitimate reasons for it to access the net before the
user starts browsing. The problem is it's access is smeared across the
codebase and isn't easily controlled through something like a single
startup flag. So I'm forced to simply refuse all remote access from
within the browser context.

>
> There's a https://github.com/Eloston/ungoogled-chromium fork; I suspect
> that it's basically Chromium without the "random connections". Could it
> be used for the Purr-Data gui?

Yes, but the gui toolkit we use is nw.js which packages
chromium/chrome with node.js plus some (buggy) convenience methods for
things like application menus. It's not practical to switch out the
chromium part with an alternative, for all supported architectures.

-Jonathan

>
> Marc
>
> _______________________________________________
> L2Ork-dev mailing list
> L2Ork-dev at disis.music.vt.edu
> https://disis.music.vt.edu/listinfo/l2ork-dev


More information about the L2Ork-dev mailing list