Sorry, no chance. The minimal requirement for Edge is Win 7 AFAIK.Does it work on XP?
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: Modern HTML viewer plugin
Re: Modern HTML viewer plugin
Ok, that is logical.
Does the plugin use any Edge's ''User Data'' folders? Any disk cache writes or anything else?
Does the plugin use any Edge's ''User Data'' folders? Any disk cache writes or anything else?
Ukrainian Total Commander Translator. Feedback and discuss.
Re: Modern HTML viewer plugin
It creates a EBWebView folder - location configurable with UserDir= parameter (default is in the plugin directory)Any disk cache writes or anything else?
Notice that The Cloud filesystem plugin also makes a EBWebView folder if configured to use the OauthBrowser2 for login.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Modern HTML viewer plugin
Looks like something wrong.petermad wrote: 2023-06-07, 17:00 UTCIt creates a EBWebView folder - location configurable with UserDir= parameter (default is in the plugin directory)Any disk cache writes or anything else?
It made it in "C:\Users\User\EBWebView\" folder.
Ukrainian Total Commander Translator. Feedback and discuss.
Re: Modern HTML viewer plugin
Ah, I see it.
The line
Ok. Also some questions:
1. How can I find an option to autodelete EBWebView folder on exit?
2. How can I force offline mode?
3. How can I view html files with .php extension? I have already written "HTML=HTM,HTML,XML,PHP" in edgeviewer.ini, but edge still shows it as plain text.
The line
in edgeviewer.ini...UserDir=%USERPROFILE%
Ok. Also some questions:
1. How can I find an option to autodelete EBWebView folder on exit?
2. How can I force offline mode?
3. How can I view html files with .php extension? I have already written "HTML=HTM,HTML,XML,PHP" in edgeviewer.ini, but edge still shows it as plain text.
Ukrainian Total Commander Translator. Feedback and discuss.
Re: Modern HTML viewer plugin
Also found that plugin does not create _detect string in wincmd.ini, so the webview2 threads are started each time you press F3 on anything.
Must be:
*_detect="EXT="HTM"|EXT="HTML"|EXT="XML"|EXT="MD"|EXT="MARKDOWN"|EXT="ADOC"|EXT="ASCIIDOC""
Must be:
*_detect="EXT="HTM"|EXT="HTML"|EXT="XML"|EXT="MD"|EXT="MARKDOWN"|EXT="ADOC"|EXT="ASCIIDOC""
Ukrainian Total Commander Translator. Feedback and discuss.
- rg_software
- Member
- Posts: 140
- Joined: 2009-08-06, 12:59 UTC
- Location: Aizu-Wakamatsu, Japan
Re: Modern HTML viewer plugin
Again sorry for slow responses -- I will eventually collect the requests and do something about them. Some quick answers for now:
1) If "autodelete" option is really necessary, I can make it.
2) What do you mean by "offline" mode? Prohibit the system to access the internet? No idea, can look into it if this is important.
3) I am still battling with the idea of making (or not) the detect string. There are some issues about it, the most obvious one is that I can't list the "directory" type in the detect string. Some folks want to use EdgeViewer to preview folders, which means I shouldn't rely on the detect string.
1) If "autodelete" option is really necessary, I can make it.
2) What do you mean by "offline" mode? Prohibit the system to access the internet? No idea, can look into it if this is important.
3) I am still battling with the idea of making (or not) the detect string. There are some issues about it, the most obvious one is that I can't list the "directory" type in the detect string. Some folks want to use EdgeViewer to preview folders, which means I shouldn't rely on the detect string.
Re: Modern HTML viewer plugin
2rg_software
Thank you for your ongoing interest in trying to support our preferences with your HTML viewer plugin.
wincmd.ini:
htmlview.ini:
Thank you for your ongoing interest in trying to support our preferences with your HTML viewer plugin.
HTMLView supports Total Commander's detection string and offers an INI file for adjustment of further plugin settings, like enabling to view directories in quick view mode. See the examples below of my current setup. As you can see I'm using a different plugin to view HTML files, and HTMLView is solely used for quick viewing of directories.rg_software wrote: 2023-06-08, 04:34 UTC 3) I am still battling with the idea of making (or not) the detect string. There are some issues about it, the most obvious one is that I can't list the "directory" type in the detect string. Some folks want to use EdgeViewer to preview folders, which means I shouldn't rely on the detect string.
wincmd.ini:
Code: Select all
[ListerPlugins]
4=%commander_path%\wlx\slister\slister.wlx64
4_detect="ext="HTM"|ext="HTML"|ext="PDF"|ext="SVG""
5=%commander_path%\wlx\htmlview\htmlview.wlx64
5_detect="!(ext="XML")"
htmlview.ini:
Code: Select all
[options]
; set to 1 to enable directory display in Quick View mode
ShowDirs=1
Re: Modern HTML viewer plugin
2rg_software
No problem with responses.
1. Yes, please.
2. Just view only local files without any requests to web. If possible.
3. I think, let it be just the same like in htmlview.
No problem with responses.
1. Yes, please.
2. Just view only local files without any requests to web. If possible.
3. I think, let it be just the same like in htmlview.
Ukrainian Total Commander Translator. Feedback and discuss.
- rg_software
- Member
- Posts: 140
- Joined: 2009-08-06, 12:59 UTC
- Location: Aizu-Wakamatsu, Japan
Re: Modern HTML viewer plugin
I remember having a talk like this before, but I am not sure how it is supposed to work.HTMLView supports Total Commander's detection string and offers an INI file for adjustment of further plugin settings
My understanding is that if you provide a detect string, the plugin won't be called for anything not matched there. So if a detect string looks like EXT="HTML", then opening a directory won't call the plugin at all, so in effect it is not possible to list a directory type there. My guess that in your case !(ext="XML") will match a directory. If this is true, then supporting a detect string would mean that a directory is viewable only if NOT operation is used.
Re: Modern HTML viewer plugin
I used HTMLview since a long time, with an empty detection string.
The plugins ini file controls what and how extensions are diplayed and other aspects of the plugin.
The nice function for dirs (if enabled in the ini) is that dir contents are displayed as thumbnails
in Quick View and for F3.
The plugins ini file controls what and how extensions are diplayed and other aspects of the plugin.
The nice function for dirs (if enabled in the ini) is that dir contents are displayed as thumbnails
in Quick View and for F3.
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: Modern HTML viewer plugin
It was and still is my intention to replicate this approach. It is my understanding that the only real purpose of a detect string is optimization: you don't have to load a plugin DLL if the string says this plugin isn't needed. However, I doubt it worth the effort at our time (especially if you consider loading the whole Chromium engine). If I use the ini file only, I can be more flexible with types, including directories.I used HTMLview since a long time, with an empty detection string.
Re: Modern HTML viewer plugin
Yes, that's correct. And a plugin won't be called for every defined exclusion string, for example: 1_detect="!(ext="TXT")"rg_software wrote: 2023-06-08, 15:24 UTCMy understanding is that if you provide a detect string, the plugin won't be called for anything not matched there.
The syntax of the detect string does not support defining the value "directory" in particular. It is a special case of the quick view event, where Total Commander passes the string "directory path" to the lister plugins, asking whether the plugin can handle the provided value. HTMLView plugin answers this request positively if its INI flag "ShowDirs" is set to 1.rg_software wrote: 2023-06-08, 15:24 UTCSo if a detect string looks like EXT="HTML", then opening a directory won't call the plugin at all, so in effect it is not possible to list a directory type there.
No, that's not correct. I use that string solely to ensure that HTMLView is not called for the file extension ".XML", but it is not required for its function "quick view of directories" to actually work.rg_software wrote: 2023-06-08, 15:24 UTCMy guess that in your case !(ext="XML") will match a directory.
I could also disable HTMLView's support for XML files by removing the extension from the plugin's INI flag "HTMLExtensions=", thus not requiring the wincmd.ini detection string for HTMLView at all. But then HTMLViewer would be triggered for XML files just to report back that it doesn't support the file extension ".XML" every time.
Additionally, having the ".XML" exclusion string in wincmd.ini helps not to forget that there is an exclusion actively set.
Re: Modern HTML viewer plugin
2rg_software
I found the folder "EBWebView" here
C:\Users\<User>\AppData\Local\Packages\MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy\LocalState\EBWebView\
Looks like the WebView2 engine uses the same folder name.
1. Can I safely use it in plugin?
2. How can I set this path once for each user?
3. Will it work?
I found the folder "EBWebView" here
C:\Users\<User>\AppData\Local\Packages\MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy\LocalState\EBWebView\
Looks like the WebView2 engine uses the same folder name.
1. Can I safely use it in plugin?
2. How can I set this path once for each user?
3. Will it work?
Ukrainian Total Commander Translator. Feedback and discuss.
Re: Modern HTML viewer plugin
%USERPROFILE%\AppData\Local\Packages\MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy\LocalState\EBWebView\2. How can I set this path once for each user?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar