当我从 UWP 使用 Launcher.LaunchUriAsync 转到 MS Edge 时,我可以删除搜索引擎请求吗?
Can I remove search engine requests when I go to the MS Edge using Launcher.LaunchUriAsync from UWP?
当 UWP 使用 Launcher.LaunchUriAsync 导航到 MS Edge 时,会自动添加搜索引擎请求。
我使用 Launcher.LaunchUriAsync 将地址传递给 Windows 默认浏览器。
string uriToLaunch = @"https://proxy.intu-soft.com/?server=google!%*qs=test";
uri = new Uri(uriToLaunch);
await Windows.System.Launcher.LaunchUriAsync(uri);
仅在 Edge 上移动到“https://www.google.com/search?q=https%3A%2F%2Fproxy.intu-soft.com%2F%3Fserver%3Dgoogle!%25*qs%3Dtest&ie=&oe=" instead of "https://proxy.intu-soft.com/?server=google!%*qs=test”。
我注意到你的 Url 最后指向的地址是
https://patents.google.com/?q=test&oq=test
你可以直接用这个Url开始。
URL跳转变成搜索引擎搜索,也就是说你的link无法被Edge浏览器识别为普通的http(s)link,这可能是由于您的 link.
中存在 异常字符
虽然这个link在地址栏输入的时候可以识别,但是会跳转。当通过 Launcher
启动时,浏览器将首先确定 link。如果不符合要求,浏览器不会将其视为link。
这就是不同浏览器的不同处理方式。 Launcher
.
不是问题
此致。
当 UWP 使用 Launcher.LaunchUriAsync 导航到 MS Edge 时,会自动添加搜索引擎请求。
我使用 Launcher.LaunchUriAsync 将地址传递给 Windows 默认浏览器。
string uriToLaunch = @"https://proxy.intu-soft.com/?server=google!%*qs=test";
uri = new Uri(uriToLaunch);
await Windows.System.Launcher.LaunchUriAsync(uri);
仅在 Edge 上移动到“https://www.google.com/search?q=https%3A%2F%2Fproxy.intu-soft.com%2F%3Fserver%3Dgoogle!%25*qs%3Dtest&ie=&oe=" instead of "https://proxy.intu-soft.com/?server=google!%*qs=test”。
我注意到你的 Url 最后指向的地址是
https://patents.google.com/?q=test&oq=test
你可以直接用这个Url开始。
URL跳转变成搜索引擎搜索,也就是说你的link无法被Edge浏览器识别为普通的http(s)link,这可能是由于您的 link.
中存在 异常字符虽然这个link在地址栏输入的时候可以识别,但是会跳转。当通过 Launcher
启动时,浏览器将首先确定 link。如果不符合要求,浏览器不会将其视为link。
这就是不同浏览器的不同处理方式。 Launcher
.
此致。