Replies: 1 comment
-
You've already asked this at https://stackoverflow.com/questions/66166763/how-to-disallow-disable-open-page-in-new-window-cefsharp Please don't cross post. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
cefsharp opening two windows while navigating on google page but i want to open in one window
I have tried a lot but couldnt make it work :(. I want to have this second window open in same main window rather than new window.
I tried following but no luck, maybe i did something wrong as I am not good at coding :(
#600
#688
https://www.codeproject.com/Articles/1194609/Capturing-a-pop-up-window-using-LifeSpanHandler-an
can you please help me find solution so it opens in only Window no matter what button you click on any webpage
`
using CefSharp;
using CefSharp.WinForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;
using System.Runtime.InteropServices;
using System.Diagnostics;
using Microsoft.Win32;
namespace Nysus
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
}
`
https://i.stack.imgur.com/QWvRx.png
see in the image it opens two different Window when I click privacy or terms etc on google, I want it to open in same Window
Beta Was this translation helpful? Give feedback.
All reactions