-
Notifications
You must be signed in to change notification settings - Fork 175
浏览器保留标签页,重新打开不会加载脚本 #135
New issue
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
Labels
bug
Something isn't working
Comments
这个功能没用过,是锦集么? |
这个问题有点难解决了,初次启动时,content比我的background会快,导致脚本还没加载完成,页面就加载完成了 先留在这里吧,以后看看有什么其他方法 |
解决这个问题需要修改脚本加载方式,现在是由content发送消息给background,然后background再注入脚本。 可能需要修改成background监听页面的加载,但是也不确定能不能解决这个问题。另外改动较大,怕修改出其他问题,留到后续再处理吧 |
首次启动需要主动注入所有页面吧 |
@KnIfER 是的,但是页面打开了,扩展还没加载完成,就出现了这种情况 而且首次启动,主动注入所有页面也不合适,有的脚本需要更快的运行,这种就不好处理了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
浏览器设置保留标签页时,下一次打开不会加载脚本



希望可以像Tampermonkey一样直接加载脚本
是浏览器关闭后下一次打开的同样脚本,同样网站的截图。
The text was updated successfully, but these errors were encountered: