Previewing in Microsoft Edge Browser

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.

  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;

Previewing in Microsoft Edge Browser

Postby pmk65 » Wed Apr 19, 2017 6:50 pm

Im trying to setup Microsoft Edge as a Preview > Browser. Microsoft Edge is an "Application" and has to be started in a different way than "normal" programs.

Entering the code below in a DOS prompt will open Microsoft Edge with the Blumentals page
Code: Select all
start microsoft-edge:https://www.blumentals.net/


But this won't do anything as Edge doesn't allow opening of local files from prompt. (MS Retardo Software!)
Code: Select all
start microsoft-edge:file:///c:/test/index.html


Examining the registry under key; "HKEY_CLASSES_ROOT\Extensions\ContractId\Windows.Protocol\PackageId\MicrosoftEdge_..." and the file "C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AppxManifest.xml" shows that only "http", "https" and "read"??? are valid.

Using some of the various Edge launcher executables doesn't help. As they just pass on a parameter to "microsoft-edge:"

I think that WeBuilder might have to register a custom protocol in order for Edge to open local files.
Ref: https://msdn.microsoft.com/en-us/windows/hardware/drivers/mt228339

Any ideas on how to get it integrated into Webuilder's Browser Previews?
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
pmk65
 
Posts: 382
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Previewing in Microsoft Edge Browser

Postby Aivars » Wed Apr 19, 2017 7:34 pm

Ok, so for some reason they want to marginalize developers. The best way right now is to use local web server and Preview Mappings and some tinkering:

1) Use local webserver and configure Preview Mappings (so that you always preview http:// instead of file://)
2) Create edge.bat file with following content:
Code: Select all
start microsoft-edge:%~1

3) Menu Options -> Preferences -> Preview -> Browsers add Additional browser "Edge"; use the edge.bat as Path (you will need to change from *.exe to *.* in the Open dialog to see .bat files)

I'm not sure it's even possible to preview file:/// in Edge right now. Let me know if you find something.
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 1989
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Previewing in Microsoft Edge Browser

Postby pmk65 » Thu Apr 20, 2017 6:56 pm

Aivars wrote:Ok, so for some reason they want to marginalize developers.
I'm not sure it's even possible to preview file:/// in Edge right now. Let me know if you find something.


It will open a local URI if you enter it in the url/search field.
I can't find any "Open file" menu items. So it looks like MS is again favoring tablet users. :(

I'll try your solution. (I always assumed that you had to turn of the build-in server when using an external server)
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
pmk65
 
Posts: 382
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron