为什么我只在 Firefox 上看到奇怪的代码?
Why do I see a strange code but only on Firefox?
在 wordpress installation 上,在 header 上,但仅在 Firefox 上,我看到了一个带有奇怪文本的输入字段。
"strange" HTML 代码,在 source-code 中,就在 <body>
之后,在 Google 标签管理器中。是
<input><div>lebowskilebowski</div>
并且它在页面上显示了一个带有有趣文本的输入字段。
你可以在这里看到它被 HTML 的其他字符串包围着。
<body class="page-template page-template-templates page-template-temp_ricerca page-template-templatestemp_ricerca-php page page-id-186 wp-custom-logo">
<!-- Google Tag Manager (noscript) -->
<input><div>lebowskilebowski</div>
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P538SGM" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
我也查看了 header.php 内部,发现任何奇怪的东西
<body <?php body_class(); ?>>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P538SGM" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
可能是代码注入。
希望你能帮助我
这是 modernizr.js 中的错误
https://hashnode.com/post/dude-that-carpet-really-tied-the-room-together-cjc225hrm05iz9cwuz18md3mo
https://github.com/Modernizr/Modernizr/issues/1052
它已在较新版本中修复。更新您的主题并查看他们是否加载新版本或在此处获取 js 并将其替换为您的主题文件。
https://cdnjs.com/libraries/modernizr
在 wordpress installation 上,在 header 上,但仅在 Firefox 上,我看到了一个带有奇怪文本的输入字段。
"strange" HTML 代码,在 source-code 中,就在 <body>
之后,在 Google 标签管理器中。是
<input><div>lebowskilebowski</div>
并且它在页面上显示了一个带有有趣文本的输入字段。
你可以在这里看到它被 HTML 的其他字符串包围着。
<body class="page-template page-template-templates page-template-temp_ricerca page-template-templatestemp_ricerca-php page page-id-186 wp-custom-logo">
<!-- Google Tag Manager (noscript) -->
<input><div>lebowskilebowski</div>
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P538SGM" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
我也查看了 header.php 内部,发现任何奇怪的东西
<body <?php body_class(); ?>>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P538SGM" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
可能是代码注入。
希望你能帮助我
这是 modernizr.js 中的错误 https://hashnode.com/post/dude-that-carpet-really-tied-the-room-together-cjc225hrm05iz9cwuz18md3mo https://github.com/Modernizr/Modernizr/issues/1052
它已在较新版本中修复。更新您的主题并查看他们是否加载新版本或在此处获取 js 并将其替换为您的主题文件。 https://cdnjs.com/libraries/modernizr