Archive for the ‘beatWife’ Category

29 08 2010

Chromium-extensions popup onunload or onbeforeunload

bigCat Posted in beatWife - 0 Comment

http://groups.google.com/a/chromium.org/group/chromium-extensions/browse_thread/thread/cc6673d8e47a9bf4/06b9ab24ff5ac7e5?pli=1

Antony Sargent
View profile
More options Apr 7, 5:55 am
Actually for your case, there are two approaches you might take:
1) Use the messaging APIs to set up a Port between the popup and background
page. You then should get a onDisconnect event in the background page when
the popup goes away.
2) Have the background dispatch events using chrome.extension.getViews() -
if there is a popup in the list, you use the DOMWindow handle to call a
function in the popup directly.

29 08 2010

[Chrome plugin] beatWife FAQ

bigCat Posted in beatWife - 0 Comment

Download: https://chrome.google.com/extensions/detail/cgoebjgkiiapifcpclljbdbmmodmmdff

don't have any questions yet~

涉及技术
hello world
localStorage
AJAX
-webkit-animation

chrome.browserAction.setIcon() 更换图标

logs

v1 抽脸 计数(bug)

v1.1 屏蔽计数 明早再看

v2 add popup and big button

vX 增加可持续抽老婆的乐趣,慢慢搞

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