简体   繁体   English

有些东西在我的 html 中添加了一个跨度,我不确定是什么

[英]something is adding a span to my html and I'm not sure what

I'm using NodeJS, my package.json has express, jquery, and node-sass as dependencies, and within my code I'm only importing / requiring jQuery.我正在使用 NodeJS,我的 package.json 有 express、jquery 和 node-sass 作为依赖项,在我的代码中我只导入/需要 jQuery。

For some reason, when my index.html file is served, it has the line出于某种原因,当我的 index.html 文件被提供时,它有一行

<span id="warning-container"><i data-reactroot=""></i></span>

I don't see what's doing this manipulation or why.我不明白是什么在做这种操纵或为什么。 I'm inclined to believe it's something with express, bit I've yet to find any information about this online.我倾向于相信这是快递的东西,我还没有在网上找到任何关于这个的信息。

Any idea what adds that line, what said line is doing, and how I can get rid of it if I don't need it?知道是什么添加了这条线,所说的线在做什么,以及如果我不需要它如何摆脱它?

If you are using React/client library ?如果您正在使用 React/客户端库?

React version 0.15.0-alpha.1, there's default data-reactroot attribute on root node. React 版本 0.15.0-alpha.1,根节点上有默认的 data-reactroot 属性。

I noticed that the extension Web Of Trust is adding this exact span.我注意到扩展Web Of Trust正在添加这个确切的跨度。 WOT is a nice protection tool but when it messes up the code in the code inspector. WOT 是一个很好的保护工具,但是当它在代码检查器中弄乱代码时。
WOT is a good protection but as I don't want extensions messing up the HTML of the sites I'm visiting, I've removed it. WOT 是一种很好的保护,但由于我不希望扩展程序弄乱我正在访问的站点的 HTML,因此我已将其删除。 And reported WOT for doing this bad thing.并报告了 WOT 做这件坏事。
Funny thing... I've noticed that when I type some word in the address bar of Chrome then I would see the Google search page plus a text above it suggesting: Did you mean to go to http://word?有趣的是...我注意到,当我在 Chrome 的地址栏中输入一些词时,我会看到 Google 搜索页面以及上面的文字提示:您是要访问 http://word 吗? or something similar.或类似的东西。 That's where this extension uses it for and it's extremely annoying...这就是这个扩展使用它的地方,它非常烦人......

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从事一项任务,我只是不理解某些东西,但不确定我错过了什么(可能很多) - working on an assignment and I am just not understanding something but not sure what I'm missing (probably alot) 基本的Javascript HTML表单-OnClick无法正常工作(我确定这很明显吗?) - Basic Javascript HTML form - OnClick not working (I'm sure it's something obvious?) 我无法使用jQuery,也不确定自己在做什么错 - I can't get my jQuery to work and I'm not sure what I'm doing wrong 我正在尝试使用js将多个功能和按钮连接在一起。 和html。 我不确定我缺少什么 - I am trying to connect multiple functions and buttons together using js. and html. and I'm not sure what i'm missing 我不确定我的Ajax导航是否正常 - I'm not sure that my ajax navigation works fine map 未定义,我不确定它是属性还是我的 api 设置 - map is undefined and I'm not sure if it's the property or my api setup 提交名称时,我正在尝试更改我的跨度标签 - I'm trying to change my span tag when name is submitted 我不确定我是否从.js脚本正确调用.html和.json文件 - I'm not sure if I'm calling .html and .json files correctly from .js script 我对此代码感到奇怪。 HTML JAVASCRIPT - I'm curious about this code something strange. HTML JAVASCRIPT 我不确定在Web上使这个应用程序在Google Cloud上运行正常 - I'm not sure what I'm missing to make this app work correctly on Google Cloud when it comes to Websockets
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM