doufei9946 2012-10-17 16:57
浏览 7
已采纳

如何防止chrome向网页注入内容[关闭]

Recently I have discovered that my application is misbehaving in Google Chrome.

On a page with a form, after it was submitted, my application reloads page using simple method like this:

header('Location: ' . $url);

after that, page is rendered incorrectly and this content is injected to 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>

After manual page refresh everything works as expected.

I'm not sure what causing this behavior, as I'm working in closed local environment and application works fine in Firefox.

My application using following libraries (hosted locally):

  • jQuery v1.7.1
  • jQuery UI 1.8.16
  • Bootstrap.js v 2.1.1

Can someone suggest me what can possibly cause this issue?

  • 写回答

1条回答 默认 最新

  • duanjue9889 2012-10-17 17:02
    关注

    Could it be the Search By Image plugin of Chrome?

    I got the hint from that forum.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog