rcmaehl / MSEdgeRedirect

A Tool to Redirect News, Search, Widgets, Weather and More to Your Default Browser
https://MSEdgeRedirect.com
GNU Lesser General Public License v3.0
4.04k stars 93 forks source link

Remove periodic updates in active mode #223

Closed MarcGuiselin closed 1 year ago

MarcGuiselin commented 1 year ago

Active mode requires periodic updates (see #221) of the msedge_no_ifeo.exe file which is a copy of the edge executable msedge.exe. The purpose of msedge_no_ifeo.exe is simply to allow running edge at all, since IFEO redirects execution of msedge.exe to MSEdgeRedirect as a debugger.

However, this is unnecessary as there is a clever way to execute msedge.exe without the call being blocked by IFEO at all, discovered by HarshalKudale:

  1. Create a junction directory that links to the edge installation folder C:\Program Files (x86)\Microsoft\Edge\Application\
  2. Set an IFEO FilterFullPath value in the registry to C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
  3. Executing msedge.exe by means of the path created by the junction point will not trigger IFEO, since the path does not match FilterFullPath

I've implemented the same technique in Wedge for an upcoming release of Chrometana Pro and it works flawlessly.

rcmaehl commented 1 year ago
  • Create a junction directory that links to the edge installation folder C:\Program Files (x86)\Microsoft\Edge\Application\

I was wondering what they were doing with those junctions.

I'll get that implemented this evening as well as Wedge added to the wiki of Alternatives.