doue2666 2019-05-03 05:19
浏览 1233

事件处理程序出错:TypeError:加载页面时无法读取未定义的属性“apply”

I am editing a codeIgniter application purchased online which have no support, everything is OK but javascript codes are not working, it keeps giving this error message

Error in event handler: TypeError: Cannot read property 'apply' of undefined at w.g.P (chrome-extension://ngpampappnmepgilojfohadhhmbhlaek/content.js:22:354) at w.g.na (chrome-extension://ngpampappnmepgilojfohadhhmbhlaek/content.js:4:214)

and when continue viewing the page it says

content.js:21 Uncaught Error: Attempting to use a disconnected port object at w.g.ka (content.js:21)

But actually in my directories I don't see the page named content.js

How can I solve this error? and finally have my javascript functions working? Thank you.

  • 写回答

1条回答 默认 最新

  • donglianjiang9321 2019-05-04 09:44
    关注

    Thank you so much for contribution, I came to realize that problem was on my script arrangement, JavaScript had to start at the top of the page, so my problem solved by uninstalling IDM plugin from chrome and re-arranging the script.

    评论

报告相同问题?

悬赏问题

  • ¥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
  • ¥15 Excel发现不可读取的内容