[英]Chrome adding tags (#shadow-root (open))
I have a div with some simple text inside, but whenever i apply the class "sidebar-ad" or "sidebar-advertisement", i get the following output: 我有一个带有一些简单文本的div,但每当我应用“sidebar-ad”或“sidebar-advertisement”这个类时,我得到以下输出:
I have searched my directory for "sidebar-ad" with Windows Grep, and I am not using this selector in my css, or in any js. 我用Windows Grep在我的目录中搜索了“sidebar-ad”,我没有在我的css或任何js中使用这个选择器。 Currently i'm just using a different selector ("sidebar-ads"), but what exactly is happening here? 目前我只是使用不同的选择器(“sidebar-ads”),但究竟发生了什么? I tested using this same class on another project which is on another server and i had the same thing happen. 我在另一个服务器上的另一个项目上使用同一个类进行了测试,我发生了同样的事情。 What is this [hidden] tag that's being added? 这个[隐藏]标签是什么? http://prntscr.com/cy5861 http://prntscr.com/cy5861
Sorry for the stupid question, but this is baffling me. 抱歉这个愚蠢的问题,但这让我感到困惑。
Thanks. 谢谢。
Edit, i tested with Edge and this isn't happening there. 编辑,我用Edge测试,这不会发生在那里。 What is Chrome doing? Chrome在做什么?
Edit, it's also happening with "sidebar-ads", so i'm now using "ad" lol 编辑,它也发生在“侧边栏广告”,所以我现在使用“广告”大声笑
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.