当在Firefox扩展中更改cookie时,是否有方法监听事件 [英] Is there a way to listen to event when a cookie is changed in a Firefox Extension
本文介绍了当在Firefox扩展中更改cookie时,是否有方法监听事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
您可以听到cookie-changed 主题与观察员服务。
I am trying to build a firefox extension which listens to events when a cookie is changed by any domain from any page and handle it accordingly. Is there an easy way to do this in javascript?
解决方案
You can listen to the cookie-changed topic with the observer service.
这篇关于当在Firefox扩展中更改cookie时,是否有方法监听事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文