Chrome Javascript 错误“WebkitURL 已弃用”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/31629940/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-28 14:05:49  来源:igfitidea点击:

Chrome Javascript error "WebkitURL is deprecated"

javascriptgoogle-chrome

提问by user3305765

I have a client for who says their website will not open on "some" of their computers. It opens on others but not on some.

我有一个客户说他们的网站无法在他们的“某些”计算机上打开。它对其他人开放,但对某些人不开放。

http://www.rwhampton.com

http://www.rwhampton.com

They checked the Chrome Javascript Console and found these errors which they think is causing the problem. It is a WordPress site, so I'm thinking it must have something to do with a WordPress plugin, because I don't have anything in my code that looks like this. Can someone point me in the right direction here? I just don't know what these errors mean. Any help would be greatly appreciated. Thanks!

他们检查了 Chrome Javascript 控制台并发现了他们认为导致问题的这些错误。这是一个 WordPress 网站,所以我认为它一定与 WordPress 插件有关,因为我的代码中没有任何类似的内容。有人可以在这里指出我正确的方向吗?我只是不知道这些错误是什么意思。任何帮助将不胜感激。谢谢!

You can view the errors here:

您可以在此处查看错误:

http://rwhampton.com/stuff/hamptonerrors.jpg

http://rwhampton.com/stuff/hamptonerrors.jpg

回答by venkat7668

you can use 'URL' instead 'webkitURL', any way this is just warning it would not break your code.

您可以使用“URL”代替“webkitURL”,无论如何这只是警告它不会破坏您的代码。

Client machine needs to have google castchrome extension to access this web site.

客户端机器需要有google castchrome 扩展才能访问这个网站。