未知的“BESbswy” <跨度> [英] Unknown "BESbswy" <span>

查看:133
本文介绍了未知的“BESbswy” <跨度>的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚注意到一些奇怪的跨度正在自动添加到左侧和顶部的身体末端,并且隐藏了可见性。
我使用wordpress(如果重要的话)。
跨度看起来完全如下:

I've just noticed that some strange span is being added automatically to the end of body with left and top with -999 and visibility hidden. I work with wordpress (if it matters). The span looks exactly like this:

<span style="position: absolute; left: -999px; top: 0px; visibility: hidden; font-size: 300px; width: auto; height: auto; margin: 0px; padding: 0px; font-family: Roboto, Arial, sans-serif;"> BESbswy <span>

它包含BESbswy字符串。

我在网上看过一些
Tnx!

I have read some article on the web that says this is a runtime test in the Typekit/Webfontloader, which I'm not using at all. All the pages uses Google Maps API and contain maps so i realized that this span is been added with google maps, since i cant see it in another page, that doesn't include a map. When i remove the map from my page i cant see the span anymore. If the Google Maps API seems to create one of these "BESbewy" span elements, Can someone help me to understand what is this BESbewy thing? and how to make make it disappear? Tnx!

##更新##

我制作了一个解决此问题的脚本,一个临时解决方案,直到我发现这个跨度是什么:|

I made a script that solve this issue, a temporary solution, until i will find out what is this span :|

  var clearSpan = setInterval(function () {
      var x = $("span:contains('BESbswy')");
      if(x.length != 0){
          $(x).text("");
          clearInterval(clearSpan);
      }
},100);
setTimeout(function(){clearInterval(clearSpan);},5000);


推荐答案

修正了简单的css regule:

Fixed with simple css regule:

span[style*='top: -999px']{display: none;}

跨度由GoogleMaps插件生成。
无法找到其他方法来修复它。

Span is generated by GoogleMaps plugin. Couldn't find other way to fix it.

这篇关于未知的“BESbswy” &LT;跨度&GT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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