4 ms·
This probably wouldn't be possible due to browser sandboxing. You could however, use a tool like External Application Button [0] in order to send the URL of th
by GlumWoodpecker 3y ago
This probably wouldn't be possible due to browser sandboxing.
You could however, use a tool like External Application Button [0] in order to send the URL of the page to a script/program, which in turn can make the body of the page parsable by downloading the URL it gets, automating some action on it. I use it pretty often to automate downloads with yt-dlp or opening a picture directly in GIMP from the browser, but since you're invoking a bash/python/whatever script, the possibilities are basically endless.
[0]: https://github.com/andy-portmen/external-application-button https://github.com/andy-portmen/external-application-button
- aidenn0 3y ago> You could however, use a tool like External Application Button [0] in order to send the URL of the page to a script/program, which in turn can make the body of the page parsable by downloading the URL it gets, automating some action on it. This works less well than it used to now that CMSs and blogs are now SPAs that render no text without javascript being enabled.
- GlumWoodpecker 3y agoYes, that is a shame, but that can be worked around by sending it to something like PhantomJS, headless Chromium, or any other scriptable browser that will actually run the JS on the page and render it in the background. Very heavy as you're basically running a full browser in the background, but totally doable.
- _8j50 3y agoI was thinking of running gnu binaries like that as a WASM compiled app/pwa
- schemescape 3y ago> This probably wouldn't be possible due to browser sandboxing. I’m curious about this comment. Surely this should be possible using accessibility hooks for a normal browser or in Nyxt via scripting, right?