Archive for the ‘beatWife’ Category

29 08 2010

Chromium-extensions popup onunload or onbeforeunload

bigCat Posted in beatWife - 0 Comment\r\n\r\nAntony Sargent \r\nView profile \r\n More options Apr 7, 5:55 am\r\nActually for your case, there are two approaches you might take: \r\n1) Use the messaging APIs to set up a Port between the popup and background \r\npage. You then should get a onDisconnect event in the background page when \r\nthe popup goes away. \r\n2) Have the background dispatch events using chrome.extension.getViews() - \r\nif there is a popup in the list, you use the DOMWindow handle to call a \r\nfunction in the popup directly. \r\n

29 08 2010

[Chrome plugin] beatWife FAQ

bigCat Posted in beatWife - 0 Comment

Download:\r\n\r\ndon't have any questions yet~\r\n\r\n涉及技术\r\nhello world\r\nlocalStorage\r\nAJAX\r\n-webkit-animation\r\n\r\nchrome.browserAction.setIcon() 更换图标\r\n\r\nlogs\r\n\r\nv1 抽脸 计数(bug)\r\n\r\nv1.1 屏蔽计数 明早再看\r\n\r\nv2 add popup and big button\r\n\r\nvX 增加可持续抽老婆的乐趣,慢慢搞

Host: (miao) | Word: Press | Code: HTML5