Javascript警报 - 正在删除“???说" [英] Javascript Alert - Removing "The page at ??? Says"

查看:179
本文介绍了Javascript警报 - 正在删除“???说"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个表单,我正在使用Javascript来验证表单,因此如果您将字段留空,则会提醒请填写您的姓名。

I have a form and I am using Javascript to validate the form so if you leave a field blank it will alert "Please fill in your Name".

如果我直接转到该链接,它可以完美运行。但这有点像Widget,所以我使用iFrame将其嵌入其他网站。当我嵌入它时,单击提交并显示一个空白字段,其中显示: http://www.example的页面.com 说:请填写你的名字

If I go to the link directly, it works perfectly. But this is kind of like a Widget so I am using an iFrame to embed it into other sites. When I embed it, and click Submit with an empty field it says: The page at http://www.example.com says: Please fill in your name

有没有办法摆脱它?

推荐答案

不,没有。这是一种反网络钓鱼功能。

No, there isn't. It is an anti-phishing feature.

如果你想要一个没有它的对话框,那么你必须使用页面中的HTML元素伪造它。

If you want a dialog without it, then you have to fake it using HTML elements in your page.

这篇关于Javascript警报 - 正在删除“???说"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆