Yeah, for the time being. I'll try fixing it when I have time; it doesn't look very complicated.Wait until someone fixes it and use HTMLView
EdgeViewer - Modern HTML viewer plugin
Moderators: Hacker, petermad, Stefan2, white
- rg_software
- Member
- Posts: 140
- Joined: 2009-08-06, 12:59 UTC
- Location: Aizu-Wakamatsu, Japan
Re: EdgeViewer - Modern HTML viewer plugin
- rg_software
- Member
- Posts: 140
- Joined: 2009-08-06, 12:59 UTC
- Location: Aizu-Wakamatsu, Japan
Re: EdgeViewer - Modern HTML viewer plugin
Inside EdgeViewer plugin folder there is a subfolder assets\mhtml. Try replacing the file mhtml2html.min.js with this new version.
Re: EdgeViewer - Modern HTML viewer plugin
A big improvementrg_software wrote: 2023-09-27, 09:09 UTC Inside EdgeViewer plugin folder there is a subfolder assets\mhtml. Try replacing the file mhtml2html.min.js with this new version.

Now it displays all the test files.
Only the fileformatinfo.mht from our tests displays the menu from the left side in the middle.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
- rg_software
- Member
- Posts: 140
- Joined: 2009-08-06, 12:59 UTC
- Location: Aizu-Wakamatsu, Japan
Re: EdgeViewer - Modern HTML viewer plugin
Unfortunately, it is the same with the real Edge as well.Only the fileformatinfo.mht from our tests displays the menu from the left side in the middle.
Re: EdgeViewer - Modern HTML viewer plugin
2rg_software
Edge browser is capable to render SVG files inside its engine.
But I can't make it work with that plug. And it's looking strange - coz we have here absolutely the same engine
as and inside the "pure" Edge browser....
Maybe I MUST edit something somewhere at the options of the plug?
Btw. WHICH by default the DETECT string IS for the plug?
And shouldn't all the listed extensions in the DETECT line be mapped to all
the listed extensions in the INI config file in the [Extensions] section?
Edge browser is capable to render SVG files inside its engine.
But I can't make it work with that plug. And it's looking strange - coz we have here absolutely the same engine
as and inside the "pure" Edge browser....
Maybe I MUST edit something somewhere at the options of the plug?
Btw. WHICH by default the DETECT string IS for the plug?
And shouldn't all the listed extensions in the DETECT line be mapped to all
the listed extensions in the INI config file in the [Extensions] section?
#146217 personal license
- rg_software
- Member
- Posts: 140
- Joined: 2009-08-06, 12:59 UTC
- Location: Aizu-Wakamatsu, Japan
Re: EdgeViewer - Modern HTML viewer plugin
SVG works for me with the following settings:AntonyD wrote: 2023-09-27, 13:26 UTC Edge browser is capable to render SVG files inside its engine.
But I can't make it work with that plug.
1) Add EXT="SVG" to the detect string manually.
2) Add SVG to the list of extensions under [Extensions]/HTML.
In general, this is how it works now:
- The ini file is the primary source of knowledge. When asked for the detect string, the plugin gathers data from the ini file and forms the detect string containing all the extensions there.
- The elements inside [Extensions] are handled differently. There is a group HTML, group Markdown, etc.
For any file in the HTML group, the browser opens it "as is", hence, SVG should go there.
For other files I do some group-specific preprocessing. Markdown is preprocessed in a different way than MHT or Asciidoc.
Re: EdgeViewer - Modern HTML viewer plugin
That's right.rg_software wrote: 2023-09-27, 11:34 UTCUnfortunately, it is the same with the real Edge as well.Only the fileformatinfo.mht from our tests displays the menu from the left side in the middle.
No big problem, the rest of the samples are displayed fine for me.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: EdgeViewer - Modern HTML viewer plugin
Add the SVG extesnion ito the Detect string and also in the edgeviewer.iniAntonyD wrote: 2023-09-27, 13:26 UTC And shouldn't all the listed extensions in the DETECT line be mapped to all
the listed extensions in the INI config file in the [Extensions] section?
[Extensions]
; should be uppercase to form the right detect string
HTML=HTM,HTML,XML,PDF,SVG
Then it works and is also used by TC switching plugins with key 4.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: EdgeViewer - Modern HTML viewer plugin
2rg_software
Please, add PHP extension to the default HTML list and to default detect string. It is enough popular to be used.
Please, add PHP extension to the default HTML list and to default detect string. It is enough popular to be used.
Ukrainian Total Commander Translator. Feedback and discuss.
Re: EdgeViewer - Modern HTML viewer plugin
That are text files.MaxX wrote: 2023-09-27, 20:57 UTC 2rg_software
Please, add PHP extension to the default HTML list and to default detect string. It is enough popular to be used.
Not even MS Edge shows more than the text.
Viewing PHP files is the job of plugins like CudaLister which shows them with syntax highlighting
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: EdgeViewer - Modern HTML viewer plugin
2Horst.Epp
Just download this viewtopic.php?p=441878#p441878 and open, you'll see that "viewtopic.php" is an normal HTML file, not plain text.
Just download this viewtopic.php?p=441878#p441878 and open, you'll see that "viewtopic.php" is an normal HTML file, not plain text.
Ukrainian Total Commander Translator. Feedback and discuss.
Re: EdgeViewer - Modern HTML viewer plugin
2MaxX
PHP files are plain text, that is until they're executed (by some web server). Such execution usually results in HTML code which is then interpreted by a web browser displaying a web page. But after they're executed, they're not PHP files per se anymore.
NB: HTML and PHP are both plain text, but with different syntax.
Regards
Dalai
PHP files are plain text, that is until they're executed (by some web server). Such execution usually results in HTML code which is then interpreted by a web browser displaying a web page. But after they're executed, they're not PHP files per se anymore.
NB: HTML and PHP are both plain text, but with different syntax.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
- rg_software
- Member
- Posts: 140
- Joined: 2009-08-06, 12:59 UTC
- Location: Aizu-Wakamatsu, Japan
Re: EdgeViewer - Modern HTML viewer plugin
Hi all again,
Yes, php extension is not something I'd enable by default for a typical users. You can list it in your HTML section, however.
Anyway, another update.
This is my first attempt to view directories. It is not much, as it only shows images, and I believe the thumbnail algorithm isn't really good.
Make sure you have the empty extension (EXT="") in your detect string or reinstall the extension. This functionality can be enabled/disabled in the ini file.
Yes, php extension is not something I'd enable by default for a typical users. You can list it in your HTML section, however.
Anyway, another update.
This is my first attempt to view directories. It is not much, as it only shows images, and I believe the thumbnail algorithm isn't really good.
Make sure you have the empty extension (EXT="") in your detect string or reinstall the extension. This functionality can be enabled/disabled in the ini file.
Re: EdgeViewer - Modern HTML viewer plugin
why only imagesrg_software wrote: 2023-09-28, 14:50 UTC It is not much, as it only shows images, and I believe the thumbnail algorithm isn't really good.

OS: Win10 | TC: latest x64
Re: EdgeViewer - Modern HTML viewer plugin
That links to a very old version of EdgeViewer.rg_software wrote: 2023-09-28, 14:50 UTC This is my first attempt to view directories. It is not much, as it only shows images, and I believe the thumbnail algorithm isn't really good.
Make sure you have the empty extension (EXT="") in your detect string or reinstall the extension. This functionality can be enabled/disabled in the ini file.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64