Hi,
Other demos block all popup windows but MiniBrowser allows CEF to create them automatically.
Use the TChromium.OnBeforePopup event and set "Result" to TRUE to cancel the new browser window and then call :
TChromium.LoadURL(targetUrl);
Using the same window will break some websites that use the JavaScript command "window.open" and keep a reference of the new window.
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
How to keep browsing in the same browser when click a new link
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact: