创建浏览器并测试不同网站的加载情况并在某些网站上发现C#Web浏览器不会完全加载特定网站。似乎默认移动可能?C#Webbrowser将无法完全加载网页
For example, Apartmentbutler.com
Another example, cleancloudapp, gets stuck here.
对于细节的缘故 - 非常基本的。
namespace WindowsFormsApp1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load_1(object sender, EventArgs e)
{
webBrowser1.ScriptErrorsSuppressed = true;
}
private void button1_Click(object sender, EventArgs e)
{
}
private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
{
}
private void button2_Click(object sender, EventArgs e)
{
string webPage = textBox1.Text.Trim();
webBrowser1.Navigate(webPage);
}
}
}
这是因为web开发者?如果这是因为移动,为什么不正确加载?我可以使用useragent强制到桌面?
希望有任何帮助,谢谢。
HTTPS://i.stack.imgur。 com/Bkok7.jpg - 桌面版 – user2805298
https://i.stack.imgur.com/Q6fXg.png - 另一个网站,cleancloud,加载问题示例 – user2805298