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
如果安装了其他会postmessage的扩展,比如react devtool,qd的cookie输入框会被无限覆盖。简单debug了一下是因为没有对message的来源做限制造成的,需要添加一个标识符限制一下
The text was updated successfully, but these errors were encountered:
稍微了看了下 好像是那个扩展在以500ms的setInterval间隔来postMessage这个消息source: "react-devtools-content-script", hello: true 你的cookies输入框一直被这个消息覆盖吧。。即使你禁用[get-cookies]扩展也是一样。。因为处理postMessage消息的实现是在qd框架上。
挺麻烦的 如果要改 扩展和qd框架也要同步改变处理。回头我看看有没有更好的处理办法。
Sorry, something went wrong.
qd-today/get-cookies@99504ea
修改getcookies扩展的通信方法
2442b04
修改与扩展插件的通信方法,防止因其他扩展滥用postMessage造成的插件失效 #571
已完成,可以先更新插件。插件兼容之前的框架,但是防止cookie输入框被其他扩展的消息干扰得等qd框架更新
增加框架中与getcookies扩展的通信数据标记 (#572)
079fe81
* 修改getcookies扩展的通信方法 修改与扩展插件的通信方法,防止因其他扩展滥用postMessage造成的插件失效 #571 * fix format * fixFormat * Change(editor): 📝优化cookie处理逻辑,修复代码格式问题
No branches or pull requests
如果安装了其他会postmessage的扩展,比如react devtool,qd的cookie输入框会被无限覆盖。简单debug了一下是因为没有对message的来源做限制造成的,需要添加一个标识符限制一下
The text was updated successfully, but these errors were encountered: