We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
那个注入js代码添加点击事件试了下是可以的,普通网页没问题。 可像那些列表页面,也就是网页进去是js代码请求接口获取列表数据,然后才for循环添加的img标签吧,这种的话 在onPageFinished里执行addImageClickListener()也不行啊,这时候网页还没加载完了吧。那些img标签都还没添加进来了。。所以就无效了。。我试着延迟两秒执行addImageClickListener方法就没问题了。 所以现在的问题是,咋判断网页是彻底的加载完了? 求高人指点,3q
The text was updated successfully, but these errors were encountered:
No branches or pull requests
那个注入js代码添加点击事件试了下是可以的,普通网页没问题。
可像那些列表页面,也就是网页进去是js代码请求接口获取列表数据,然后才for循环添加的img标签吧,这种的话 在onPageFinished里执行addImageClickListener()也不行啊,这时候网页还没加载完了吧。那些img标签都还没添加进来了。。所以就无效了。。我试着延迟两秒执行addImageClickListener方法就没问题了。 所以现在的问题是,咋判断网页是彻底的加载完了?
求高人指点,3q
The text was updated successfully, but these errors were encountered: