WLX plugin for F3: simple TEXT browser. Is it possible?

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
MaxX
Power Member
Power Member
Posts: 1039
Joined: 2012-03-23, 18:15 UTC
Location: UA

WLX plugin for F3: simple TEXT browser. Is it possible?

Post by *MaxX »

Subj...
Does it exist? Is it possible?
Any ideas...
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
nsp
Power Member
Power Member
Posts: 1827
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: WLX plugin for F3: simple TEXT browser. Is it possible?

Post by *nsp »

What do you mean by simple TEXT BROWSER ?
You can view any text file using F3 with standard viewier.
please elaborate !
if you want to render an url file in text I do not know any wlx,
just application ( eLinks, Links2 or lynx) or firefox plugin https://github.com/browsh-org/browsh/releases
User avatar
MaxX
Power Member
Power Member
Posts: 1039
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: WLX plugin for F3: simple TEXT browser. Is it possible?

Post by *MaxX »

Something like that, yes. More feature-full than internal simple html-viewer, but much more simple than any htmlview.wlx/edgeview.wlx ...
No need to support JS. Only simple CSS support with some text formating and simple support of jpeg/png images.
I don't want any bloatware or vulnerable components of modern html viewers. Just simple tool to view my html files in offline.
Does anything exist for such purpose?
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
nsp
Power Member
Power Member
Posts: 1827
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: WLX plugin for F3: simple TEXT browser. Is it possible?

Post by *nsp »

The simpliest is to use edgeviewer, you can have some nice switches to setup in the chromium section of ini file to make it more secure. see forum thead
Another html viewer I used in the paste is RedHTML 2013.03.22 if you are a programmer you can see sources.
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: WLX plugin for F3: simple TEXT browser. Is it possible?

Post by *petermad »

2MaxX
Is enabling TC's internal "View HTML at text with links" too simple a view for you? See: https://tcmd.madsenworld.dk/viewhtml.png viewhtml.png
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
MaxX
Power Member
Power Member
Posts: 1039
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: WLX plugin for F3: simple TEXT browser. Is it possible?

Post by *MaxX »

2nsp
I already have edgeviewer, but that is not the best solution. It depends on webview2 engine (forget about any XP...8.1, forget about portable TC on USB stick) and is too slow to be used..

2petermad
Well.. Internal viewer does not support colors, fonts, text align, images, and some another simple things...
Need some more, but still simple.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: WLX plugin for F3: simple TEXT browser. Is it possible?

Post by *petermad »

I already have edgeviewer, but that is not the best solution. It depends on webview2 engine (forget about any XP...8.1, forget about portable TC on USB stick) and is too slow to be used..
Then maybe HtmlView is the solution - it only needs the plugin (HTMLView.wlx64 is only 225.792 bytes), the rest is done by Windows (also for Windows 10). So it is portable.
It is fast, but it uses Windows IE 8 engine, so the newest CSS and HTML and JavaScript standards are not supported - but it could certainly be considered a basic HTML Viewer.

You can get the latest version (that I know of) here: https://tcmd.madsenworld.dk/plugins/wlx_htmlview_1.2.6.zip
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
MaxX
Power Member
Power Member
Posts: 1039
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: WLX plugin for F3: simple TEXT browser. Is it possible?

Post by *MaxX »

2petermad
IEView/HtmlView/MarkdownView can't work offline (all external resources from page are being downloaded, you can't avoid this) and can't turn off JS. Also they can hand TC in random cases.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: WLX plugin for F3: simple TEXT browser. Is it possible?

Post by *petermad »

HtmlView can show local files without being online, and JS can be turned off with the parameter AllowScripting=0 parameter in HtmlView.ini.

What else do you mean by working offline?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
MaxX
Power Member
Power Member
Posts: 1039
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: WLX plugin for F3: simple TEXT browser. Is it possible?

Post by *MaxX »

I know this parameter. It just doesn't work.
And it still tries to get any online images and scripts from html page.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: WLX plugin for F3: simple TEXT browser. Is it possible?

Post by *petermad »

I know this parameter. It just doesn't work.
It works fine here, but you have to restart TC after changing the parameter (it is not enough to run cm_UnloadPlugins).
And it still tries to get any online images and scripts from html page.
Try the parameters ForceOffline=1 and AllowActiveX=0 (and restart TC)

So:
AllowScripting=0
AllowActiveX=0
ForceOffline=1

should take care of that - it works fine here.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6532
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: WLX plugin for F3: simple TEXT browser. Is it possible?

Post by *Horst.Epp »

petermad wrote: 2024-05-28, 08:43 UTC So:
AllowScripting=0
AllowActiveX=0
ForceOffline=1

should take care of that - it works fine here.
I can confirm this.
It works fine here too and is very fast.
It definitely doesn't load anything from the network.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3737)
TC 11.03 x64 / x86
Everything 1.5.0.1383a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
Post Reply