EdgeViewer - Modern HTML viewer plugin

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
rg_software
Member
Member
Posts: 140
Joined: 2009-08-06, 12:59 UTC
Location: Aizu-Wakamatsu, Japan

Re: EdgeViewer - Modern HTML viewer plugin

Post by *rg_software »

Fails are to be expected, I will try a different approach. And I will assign higher priority to the user CSS.
User avatar
rg_software
Member
Member
Posts: 140
Joined: 2009-08-06, 12:59 UTC
Location: Aizu-Wakamatsu, Japan

Re: EdgeViewer - Modern HTML viewer plugin

Post by *rg_software »

Okay, please try this update.
It should not sacrifice any earlier compatibility, and it is able to apply the given CSS file(s) to the loaded HTML. Recoloring isn't instant, but fairly close.
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Re: EdgeViewer - Modern HTML viewer plugin

Post by *deus-ex »

This release fixes all of my previously mentioned issues. Now, dark-colored text on a dark background is readable, because it gets converted to a light color per user definition.

Note that the test release from earlier today failed to load GIF files, which I only noticed a couple of minutes ago. As mentioned, the latest release has this and all other issues fixed. Thank you. 😀👍
KozakMak
Senior Member
Senior Member
Posts: 478
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: EdgeViewer - Modern HTML viewer plugin

Post by *KozakMak »

2rg_software
Can you provide a comparison table between MarkdownView vs EdgeViewer?
for example lines like "ShowDirs" yes\no or "min OS support"
OS: Win10 | TC: latest x64
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Re: EdgeViewer - Modern HTML viewer plugin

Post by *deus-ex »

2rg_software

I just noticed that XML files without any style information are displayed with the default color setup, which implies a white background. Can this be adjusted?
User avatar
rg_software
Member
Member
Posts: 140
Joined: 2009-08-06, 12:59 UTC
Location: Aizu-Wakamatsu, Japan

Re: EdgeViewer - Modern HTML viewer plugin

Post by *rg_software »

KozakMak wrote: 2025-04-30, 10:03 UTC 2rg_software
Can you provide a comparison table between MarkdownView vs EdgeViewer?
for example lines like "ShowDirs" yes\no or "min OS support"
I perhaps can come up with such a table, but the basic difference is simple: MarkdownView is based on the old Internet Explorer rendering engine. It is faster, lightweight, and has certain unique features like displaying MHT or directory with files inside. It might do something else, but I am not sure. As a downside, it won't display many recently made HTML files correctly, and won't support modern CSS (such as Github's regular stylesheets). There is also really no chance for advanced functions like syntax highlighting (which requires document processing rather than CSS).

However, if you only need to view Markdown, for example, and don't need syntax highlighting, it is perfectly fine. I think it works on WinXP+.

EdgeViewer is based on Chromium core. Thus, I can relatively easy extend it to support various stuff you can see rendered in the browser today. However, Chromium dropped support of MHT and it does not view directories natively, so I have to emulate this functionality myself somehow. Naturally, Chromium is far heavier, and it requires Win7+ (with certain components that have to be installed on Win7 by the user).

I will probably support MarkdownView, fix bugs and implement some simple features, but we are deep in Chromium world, and it's a lot of headwind to do anything web-related with the old IE engine.
User avatar
rg_software
Member
Member
Posts: 140
Joined: 2009-08-06, 12:59 UTC
Location: Aizu-Wakamatsu, Japan

Re: EdgeViewer - Modern HTML viewer plugin

Post by *rg_software »

deus-ex wrote: 2025-04-30, 10:16 UTC 2rg_software

I just noticed that XML files without any style information are displayed with the default color setup, which implies a white background. Can this be adjusted?
No, you cannot directly apply CSS to XML as is. Personally I use xmlreview plugin to view XMLs, but if there is any reason to support XML in EdgeViewer, it can be done, BUT it means a proper first-class support, meaning that I have to handle XMLs separately, not just pass them to the browser.
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Re: EdgeViewer - Modern HTML viewer plugin

Post by *deus-ex »

Thank you kindly for your generous offer, but I can live with the current status. I don't view XML files often, so from my point of view, there is no need to invest time in a rather minor issue.
KozakMak
Senior Member
Senior Member
Posts: 478
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: EdgeViewer - Modern HTML viewer plugin

Post by *KozakMak »

rg_software wrote: 2025-04-30, 10:19 UTC directory with files inside.
сan you add this to EdgeViewer ?
OS: Win10 | TC: latest x64
User avatar
rg_software
Member
Member
Posts: 140
Joined: 2009-08-06, 12:59 UTC
Location: Aizu-Wakamatsu, Japan

Re: EdgeViewer - Modern HTML viewer plugin

Post by *rg_software »

KozakMak wrote: 2025-04-30, 12:27 UTC
rg_software wrote: 2025-04-30, 10:19 UTC directory with files inside.
сan you add this to EdgeViewer ?
As far as I understand, it is mostly for image thumbnail preview, and this functionality already works in EdgeViewer. It is still fairly basic, though.
Post Reply