OpenDream icon indicating copy to clipboard operation
OpenDream copied to clipboard

[RT] CEF opens external links instead of the user's actual browser

Open ike709 opened this issue 4 years ago • 5 comments

image

ike709 avatar Nov 03 '21 00:11 ike709

Would this be considered an OpenDream issue, or a RobustToolbox one?

wixoaGit avatar Nov 04 '21 19:11 wixoaGit

Excellent question.

ike709 avatar Nov 04 '21 19:11 ike709

You can intercept the BeforeBrowse event to open external http:// navigation in the browser again (use IUrlOpener).

PJB3005 avatar Nov 05 '21 00:11 PJB3005

Would be great to keep functionality for CEF to open external links via a method so we can maintain BYOND parity.

ZeWaka avatar Nov 05 '21 02:11 ZeWaka

IUriOpener works to open it in their regular browser, but CEF has already created a window to load it in by the time the BeforeBrowse method runs.

ike709 avatar Mar 03 '22 01:03 ike709