Javascript for DOS (Announce)
> > How would you call JS interpreter externaly from browser when it would
> need
> > to do some visual changes on displayed page? I cannot imagine other use
> > than direct integration to links but with new versions you will have to
> > integrate it again and again...
>
> Just like how Arachne uses its APM packages, except, that Links does not
> have Dos Gateway Interface, so you are required to load the modified
> webpage manually... or you don't return to Links until you finish with the
> JS webpage. And this is what I originally thoughed about. Mikulas added a
> function that saves the clipboard to a file, so its content is accessible
> from DOS. If you have the proper batch file, AND the JS interpreter itself
> has its own WATTCP (or another internet access) implementation, it opens
> your webpage, you can do stuff in it than terminate it and go back to
> Links. The other option is to re-render the webpage over and over again,
> when a JS fuction is needed. This works, the old WebAccessGateway did this,
> and it still could, just no server uses it anymore. On a clien machine,
> however, it would be very uncomfortable.
>
> By the way, I use the "magnet:" protocol as a limited DGI, because I
> created a .bat file which is added in Links as the magnet-program, but the
> .bat itself only forwards the text coming after "magnet: " as a command to
> the OS. Than I have standard names for stuff according to what am I
> planning to do with the data and have batch files for them. For Youtube
> videos, for example, I download the video page as Z:watch.htm (Z: is my
> RAM-disk) then I write "magnet: youtube 1 - " as URL. Than Links forwards
> "YOUTUBE 1 - " to COMMAND.COM which executes YTCRACK on Z:watch.html
> resulting Z:YOUTUBE.HTM, which contains the video file URL's in order to
> download them. It is designed to be displayed in a browser, originally in
> Arachne, I think, but my batch file, with this command line arguments, doen
> not do it, instead, it immediately executes my small C++ stuff, which finds
> the 640:480 or 640:360 version in it and leaves only that URL in the file,
> and nothing more. Then, WGET is immediately called to download the file as
> Z:1.1, which is then automatically renamed to %1.mp4. Then mplayer for
> Windows is loaded with DPMILD32.EXE to play Z:%1.mp4 with SDL output and
> 640:360 mode. All this happens when you download the actual page as
> Z:watch.html and then go to "magnet: youtube X - ", and you watch the
> video. Then you get back to the browser. This is only an example that of
> you are creative, you can take advantage on a lot of things. An external JS
> executer could be designed similarly. :)
Do you have your batch file available anywhere to download?
Complete thread:
- Javascript for DOS - Laaca, 14.02.2019, 23:27 (Announce)
- Javascript for DOS - glennmcc, 15.02.2019, 04:32
- Javascript for DOS - iw2evk, 16.02.2019, 14:14
- Javascript for DOS - ron, 16.02.2019, 21:57
- Javascript for DOS - KormaX, 17.02.2019, 12:30
- Javascript for DOS - KormaX, 17.02.2019, 12:32
- Javascript for DOS - RayeR, 21.02.2019, 02:11
- Javascript for DOS - marcov, 21.02.2019, 13:27
- Javascript for DOS - KormaX, 21.02.2019, 14:27
- Javascript for DOS - Oso2k, 25.02.2019, 18:50
- Javascript for DOS - KormaX, 26.02.2019, 14:25
- Javascript for DOS - KormaX, 16.03.2019, 15:30
- Javascript for DOS - Oso2k, 25.02.2019, 18:50
- Javascript for DOS - RayeR, 21.02.2019, 02:11
- Javascript for DOS - ron, 16.02.2019, 21:57
- Javascript for DOS - KormaX, 17.02.2019, 12:17
- Javascript for DOS - iw2evk, 16.02.2019, 14:14
- Javascript for DOS - DosWorld, 19.02.2019, 00:47
- Javascript for DOS - iw2evk, 09.03.2019, 13:42
- Javascript for DOS - iw2evk, 24.03.2019, 18:48
- Javascript for DOS - glennmcc, 25.03.2019, 22:18
- Javascript for DOS - tom, 25.03.2019, 23:02
- Javascript for DOS - glennmcc, 26.03.2019, 01:08
- Javascript for DOS - KormaX, 26.03.2019, 17:13
- Javascript for DOS - glennmcc, 26.03.2019, 23:01
- Javascript for DOS - KormaX, 27.03.2019, 21:29
- Javascript for DOS - glennmcc, 28.03.2019, 00:21
- Javascript for DOS - KormaX, 28.03.2019, 11:21
- Javascript for DOS - glennmcc, 28.03.2019, 16:31
- Javascript for DOS - marcov, 28.03.2019, 20:24
- Javascript for DOS - KormaX, 28.03.2019, 11:21
- Javascript for DOS - glennmcc, 28.03.2019, 00:21
- Javascript for DOS - KormaX, 27.03.2019, 21:29
- Javascript for DOS - glennmcc, 26.03.2019, 23:01
- Javascript for DOS - KormaX, 26.03.2019, 17:13
- Javascript for DOS - glennmcc, 26.03.2019, 01:08
- Javascript for DOS - tom, 25.03.2019, 23:02
- Javascript for DOS - glennmcc, 25.03.2019, 22:18
- Javascript for DOS - iw2evk, 24.03.2019, 18:48
- Javascript for DOS - iw2evk, 09.03.2019, 13:42
- Javascript for DOS - neozeed, 05.06.2019, 02:22
- Javascript for DOS - Laaca, 06.06.2019, 01:03
- Javascript for DOS - SuperIlu, 12.02.2020, 20:24
- Javascript for DOS - Laaca, 06.06.2019, 01:03
- Javascript for DOS - rr, 16.06.2019, 17:06
- Javascript for DOS - Laaca, 07.02.2020, 23:30
- Javascript for DOS - SuperIlu, 12.02.2020, 20:27
- Javascript for DOS - Rugxulo, 09.03.2020, 23:17
- Javascript for DOS - SuperIlu, 09.03.2020, 23:22
- Javascript for DOS - Oso2k, 31.03.2020, 08:13
- Javascript for DOS - Oso2k, 31.03.2020, 17:32
- Javascript for DOS - SuperIlu, 31.03.2020, 21:00
- Javascript for DOS - Oso2k, 01.04.2020, 09:06
- Javascript for DOS - SuperIlu, 31.03.2020, 21:00
- Javascript for DOS - Oso2k, 31.03.2020, 17:32
- Javascript for DOS - Oso2k, 31.03.2020, 08:13
- Javascript for DOS - SuperIlu, 09.03.2020, 23:22
- Javascript for DOS - Rugxulo, 09.03.2020, 23:17
- Javascript for DOS - SuperIlu, 12.02.2020, 20:27
- Javascript for DOS - glennmcc, 15.02.2019, 04:32