Naz*_*riy 12 php google-chrome code-injection
最近我发现我的应用程序在Google Chrome中行为不端.
在带有表单的页面上,在提交之后,我的应用程序使用这样的简单方法重新加载页面:
header('Location: ' . $url);
Run Code Online (Sandbox Code Playgroud)
之后,页面呈现不正确,并将此内容注入DOM
<div id="sbi_camera_button" class="sbi_search" style="left: 0px; top: 0px; position: absolute; width: 29px; height: 27px; border: none; margin: 0px; padding: 0px; z-index: 2147483647; display: none; "></div>
Run Code Online (Sandbox Code Playgroud)
手动页面刷新后,一切都按预期工作.
我不确定是什么导致了这种行为,因为我在封闭的本地环境中工作,并且应用程序在Firefox中正常工作.
我的应用程序使用以下库(本地托管):
有人可以告诉我什么可能导致这个问题吗?
| 归档时间: |
|
| 查看次数: |
2486 次 |
| 最近记录: |