Please login or register. Welcome to the Studio, guest!


Quick Links:


newBookmarkLockedFalling

JD

JD Avatar



1,031


June 2008
Hey guys,

I don't know how many people are familiar with Chrome Extension dev, but does anybody know if chrome.idle.queryState is broken? It's not a permissions issue because chrome.idle.onStateChanged.addListener fires just fine.

E.g.
chrome.idle.queryState(60, function(state) {
alert(state);
});


doesn't fire at all.

It's driving me crazy, and I can't complete this extension (part of my job, fail) until I resolve this. It's probably a stupid syntax error, but I've now got tunnel vision!

Thanks!

Edit: On a side note, I'm getting completely wound up by Chrome Extension documentation... or lack of. They seem to be advocates for developer trial and error since manifest 2.


Last Edit: Aug 13, 2013 14:03:16 GMT by JD

newBookmarkLockedFalling