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

Re: EdgeViewer - Modern HTML viewer plugin

Post by *rg_software »

AkulaBig wrote: 2025-05-09, 13:04 UTC EdgeViewer:
[img]https://i.ibb.co/Mkcj6kTQ/Edge-Viewer.png[/img]
MarkdownView with the on Allowscripting=1:
[img]https://i.ibb.co/93d9bCdj/Markdown-View.png[/img]
Yeah, but I don't know what file you are trying to open. If you save all-cmd-ru as HTML, which you seem to use, you will also see the dropdown menu in EdgeViewer. I suspect your file is MHTML or something like that.
AkulaBig
Power Member
Power Member
Posts: 544
Joined: 2021-09-09, 17:28 UTC

Re: EdgeViewer - Modern HTML viewer plugin

Post by *AkulaBig »

No, html files - all_cmd.ru.htm. If you install Allowscripting = 0 in MarkdownView, then the list of versions will not be shown either.
User avatar
rg_software
Member
Member
Posts: 151
Joined: 2009-08-06, 12:59 UTC
Location: Aizu-Wakamatsu, Japan

Re: EdgeViewer - Modern HTML viewer plugin

Post by *rg_software »

AkulaBig wrote: 2025-05-09, 14:21 UTC No, html files - all_cmd.ru.htm. If you install Allowscripting = 0 in MarkdownView, then the list of versions will not be shown either.
Here is the HTML file I saved. It shows the dropdown list in EdgeViewer (the list doesn't work because it leads to a file in another folder). Maybe your file was saved in the old IE or is somehow different from mine...
AkulaBig
Power Member
Power Member
Posts: 544
Joined: 2021-09-09, 17:28 UTC

Re: EdgeViewer - Modern HTML viewer plugin

Post by *AkulaBig »

Can you lay out your edgeмiewer.ini? I and he does not show the list at EdgeViewer, in MarkdownView shows:
[img]https://i.ibb.co/21vPGgWz/image.gif[/img]
User avatar
rg_software
Member
Member
Posts: 151
Joined: 2009-08-06, 12:59 UTC
Location: Aizu-Wakamatsu, Japan

Re: EdgeViewer - Modern HTML viewer plugin

Post by *rg_software »

Oh, mine is largely default:

Code: Select all

[Extensions]
; should be uppercase to form the right detect string
HTML=SVG,HTM,HTML,XML,PDF
Markdown=MD,MARKDOWN
AsciiDoc=ADOC,ASCIIDOC
URL=URL
MHTML=MHT,MHTML
RST=RST

; also show directory contents
Dirs=1
DirImageExt=jpg|jpeg|png|gif|svg|bmp

[Chromium] 
; space-separated; check switches at:
; https://peter.sh/experiments/chromium-command-line-switches/
; (try, e.g, --disable-smooth-scrolling)
Switches=

; remove UserDir setting to use the plugin directory
UserDir=%USERPROFILE%

; unset to ignore WebView2 errors
ShowErrorBoxes=1

; uncomment to point to your fixed version Edge 
; BrowserExecutableX86Folder=%USERPROFILE%\Edge32
; BrowserExecutableX64Folder=%USERPROFILE%\Edge64

; remove EBWebView cache on exit
CleanupOnExit=0

; do not allow accessing external resources
OfflineMode=0

; keep zoom when switching between the documents
; (use Ctrl+, Ctrl- to zoom)
KeepZoom=1

[Markdown]
; from the "markdown" subfolder
CSS=github.css
CSSDark=github.dark.css

[AsciiDoc]
; from the "asciidoctor" subfolder
CSS=asciidoctor.css

[RST]
; from the "rst" subfolder
CSS=rst-style.css
CSSDark=rst-style.css
AkulaBig
Power Member
Power Member
Posts: 544
Joined: 2021-09-09, 17:28 UTC

Re: EdgeViewer - Modern HTML viewer plugin

Post by *AkulaBig »

rg_software wrote: 2025-05-09, 15:55 UTC Oh, mine is largely defaul
Nothing has changed :( And your version v1.0.8 dated 30.04.2025?
User avatar
rg_software
Member
Member
Posts: 151
Joined: 2009-08-06, 12:59 UTC
Location: Aizu-Wakamatsu, Japan

Re: EdgeViewer - Modern HTML viewer plugin

Post by *rg_software »

AkulaBig wrote: 2025-05-09, 16:52 UTC
rg_software wrote: 2025-05-09, 15:55 UTC Oh, mine is largely defaul
Nothing has changed :( And your version v1.0.8 dated 30.04.2025?
Well, yes. Do a right click on the open file -> Inspect -> Console. Maybe some errors (I have "favicon not found", but that's it). Do other files with Javascript fail in the same fashion? E.g., Racer?
AkulaBig
Power Member
Power Member
Posts: 544
Joined: 2021-09-09, 17:28 UTC

Re: EdgeViewer - Modern HTML viewer plugin

Post by *AkulaBig »

Racer does not start. You give a bunch of errors:
[img]https://i.ibb.co/gLzDbwM5/2025-05-10-070742.png[/img]
In Edge Racer, the link is launched. And the downloaded HTM does not start.
AkulaBig
Power Member
Power Member
Posts: 544
Joined: 2021-09-09, 17:28 UTC

Re: EdgeViewer - Modern HTML viewer plugin

Post by *AkulaBig »

Was it necessary to add the plugin update to the folder? I completely replaced the old.
AkulaBig
Power Member
Power Member
Posts: 544
Joined: 2021-09-09, 17:28 UTC

Re: EdgeViewer - Modern HTML viewer plugin

Post by *AkulaBig »

I figured it out. Racer just loaded for a long time. Now everything works. And the file with the version table on EdgeViewer 1.0.7 works, and does not work at 1.0.8 from 04/30/2025.
Maybe 1.0.8 shows correctly? Once in the list there are no links, maybe it does not need to be shown?
AkulaBig
Power Member
Power Member
Posts: 544
Joined: 2021-09-09, 17:28 UTC

Re: EdgeViewer - Modern HTML viewer plugin

Post by *AkulaBig »

I checked version 1.0.8 dated 04/23/2025. Everything works in it.
User avatar
rg_software
Member
Member
Posts: 151
Joined: 2009-08-06, 12:59 UTC
Location: Aizu-Wakamatsu, Japan

Re: EdgeViewer - Modern HTML viewer plugin

Post by *rg_software »

Great. The most recent version is 1.0.9 (at Github). Hope it works as well, it mostly addressed unrelated issues.
User avatar
rg_software
Member
Member
Posts: 151
Joined: 2009-08-06, 12:59 UTC
Location: Aizu-Wakamatsu, Japan

Re: EdgeViewer - Modern HTML viewer plugin

Post by *rg_software »

XML is supposed to be shown as code.
I know that TCTorrent readme is rendered correctly in standalone Edge. However, it is actually malformed. If you open readme_ru.htm, you'll see this line:

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset="UTF-8"/>
The quotation mark before UTF-8 is an error, it should not be there. If you remove it, the file will render correctly. It should be

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
Post Reply