网络开发人员是否需要“确认重新发送”?保护?
我使用 Firefox 进行 Web 开发,我敢打赌你们大多数人也使用 Firefox。我最近做了很多表单开发,这个烦人的消息
“要显示此页面,Firefox 必须发送信息来重复之前执行的任何操作(例如搜索或订单确认)。”
才开始让我生气..我的意思是,来吧!我的本地主机不需要保护,谢谢!所以,我的问题是:你知道有什么配置、黑客、插件可以抑制它吗?如果没有,你如何忍受它?
I use firefox for my web development and I bet most of you guys too. I've been doing a lot of form development recently and this annoying message
"To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier."
is just beginning to piss me off.. I mean, come on! I don't need protection on my localhost, thank you! So, my question is: are you aware of any config, hack, plugin to suppress it? If not, how do you live with it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是 Patrick 对 Linux 用户的回答(在我的例子中是 Ubuntu)。
安装 autokey (它在存储库中)。添加此 python 脚本:
将此脚本挂钩到 f5,您将永远不会再看到确认消息。使用最新的 Firefox 进行测试。
Here's an equivalent of Patrick's answer for Linux users (Ubuntu in my case).
Install autokey (it's in the repos). Add this python script:
Hook this script to f5 and you will never see the confirm message again. Tested with latest firefox.
显然,既没有配置选项也没有扩展来关闭这个烦人的确认窗口。
但是,我使用的解决方法如下。
从以下位置下载并安装应用程序 AutoHotkey: http://www.autohotkey.com/
创建以下脚本:
保存为.ahk 扩展名。
双击运行它(系统托盘中应显示一个新图标)。
现在,每次按 Ctrl+F5 时,脚本都会按 F5,然后按 Enter。瞧,确认窗口被抑制了。
Apparently there is neither configuration option nor extension to turn off this annoying confirmation window.
However, the workaround I use is as follows.
Download and install application AutoHotkey from: http://www.autohotkey.com/
Create the following script:
Save with .ahk extension.
Double click to run it (a new icon should show up in the system tray).
Now every time you press Ctrl+F5, the script presses F5 and then Enter. Voila, the confirmation window supressed.