开发者

Is there a way to listen to event when a cookie is changed in a Firefox Extension

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 accordin开发者_StackOverflowgly. Is there an easy way to do this in javascript?


You can listen to the cookie-changed topic with the observer service.


http://jsfiddle.net/ArondeParon/5RsTm/4/

try changing the cookie, it will pop up an alert.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜