始终在Javafx WebView应用程序中接受cookie

发布于 2025-02-07 03:16:00 字数 406 浏览 2 评论 0原文

嗨,大家好

,我是Javafx的新手,现在我需要一些您的帮助

,我提出了一个申请,现在我需要将我/我们的Instagram配置文件链接到信用中。

我使用以下代码将配置文件加载到WebView:

webview.getEngine()。load(“ https://www.instagram.com/username”);

问题1:

现在的问题是,现在的问题是,当WebView加载Instagram页面时,有一个我需要接受cookie的窗口,什么不起作用的

问题2:

第二个问题是如何在不登录我的Insta配置文件的情况下加载Instagram页面,以便每个人都可以看到它没有创建任何帐户。

谢谢您的一切帮助!

Hi guys

I am new at JavaFX and now I need some of your help

I made an application and now I need to link my/our instagram profiles for the credits.

I used following code to load the profiles into the webview:

webview.getEngine().load("https://www.instagram.com/username");

Problem 1:

The problem now is, that when the webview loads the instagram page there is a window where I need to accept the cookies, what doesn't work

Problem 2:

The second question is how to load the instagram page without logging in to my insta profile so that everybody can see it without creating any account.

Thank's for every help!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文