如何“允许”火狐网络自动安全
我试图找到一种方法,通过使用 pywin32 或 windows API 来“单击”firefox 互联网安全窗口中的“允许”按钮。我能够使用 FindWindow 获得“互联网安全”窗口。我尝试发送按钮单击事件,但没有响应,并且按钮在间谍xx中看起来不可见。有什么想法吗?
谢谢
I'm trying to figure out a way to "click" the "Allow" button in firefox internet security window by using pywin32 or windows API. I was able to get the "internet security" window by using FindWindow. I tried to send a button click event but no response and the button looks invisible from spyxx. Any ideas?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它可能不是一个真正的 Windows 按钮,而是一个 XUL 小部件,因此只有 Firefox 知道它在哪里以及它是什么样子。
由于您的问题听起来像“我想编写一个特洛伊木马”,所以我愿意提供的信息就这么多。
[编辑] Firefox 是一个非常灵活的浏览器,尤其是在打包方面。因此,您应该考虑将
由于我自己从未这样做过,所以大致的轮廓是:编写一个插件,在加载页面时收到通知(查看 Greasemonkey 插件 为例;也许 Greasemonkey 已经可以满足您的需求)。
现在,如果加载的页面包含一些特殊代码,您的插件会修改浏览器设置。现在您需要做的就是将 Firefox 与此插件一起打包到您的 IDS 套件中。
或者也许你可以制作插件
It's probably not a real Windows button but a XUL widget, so only Firefox knows where it is and what it looks like.
Since your question smells like "I want to write a Trojan", that's as much info I'm willing to give.
[EDIT] Firefox is a very flexible browser, especially when it comes to packaging it. So what you should consider is
Since I've never done this myself, a rough outline: Write a plugin which gets notified when a page is loaded (look into the source of the Greasemonkey add-on for an example; maybe Greasemonkey can already do what you need).
Now if the page loaded contains some special code, your plugin modifies the browser settings. Now all you need to do is to package firefox with this plugin for your IDS suite.
Or maybe you can make the plugin