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
3.94k stars 92 forks source link

[HELP WANTED] Create Edge Extension to Intercept links within an already open Edge / CoPilot / Bing Chat #320

Open rcmaehl opened 9 months ago

rcmaehl commented 9 months ago

Yes, this is intended behavior and what I'm getting on my machine. Since CoPilot is Edge, I am not currently able to redirect links from there as it's the same as if you're just clicking a link in the Edge Browser.

I'm looking into ways around this (read: Browser Extensions) but I'm not a webdev nor do I know if the extension stores would even allow the functionality I'm considering (Links -> URI -> MSEdgeRedirect -> Preferred Browser)

Wonderful! Thank you for clarifying. The browser extension idea is a great one. On free time I’d love to prototype an extension that can potentially do exactly what you are proposing. MSEdgeRedirect could be a default app for a new link type (ex: MSEdgeRedirect://) and the extension could bind to an OnClicked event, sniff the URL that was clicked, prevent the default function of opening in a new tab/window, and open it as this new link type with the URL to redirect formatted into it.

Inspired!

Originally posted by @JoshHubi in https://github.com/rcmaehl/MSEdgeRedirect/issues/283#issuecomment-1737186653


Correct! Feel free to design a prototype if you'd like. I probably won't use MSEdgeRedirect for the URI name as interoperability / sharing is common in the F!@k MSEdge GitHub Group (Chrometana Pro works with MSER which works with AveYo's Edge Removal, et al).

Heck, reusing Microsoft-Edge:// would probably work as well. If MSER/Wedge/et al isn't installed, it would just open things up as normal in Edge and never be "broken".

_Originally posted by @rcmaehl in https://github.com/rcmaehl/MSEdgeRedirect/issues/283#issuecomment-1737256614