Hong Kong Weather Warnings 0.4.7

Thursday, January 13. 2011

Minor update in the Javascript service, and also nominated for public.


Also working on a Firefox 4 compatible version, hopefully can finish before its official launch .






Seems need some effort to make it compatible with both version 3 and 4.
Reference:



  1. Multiple breaking changes are coming for components in extensions

  2. XPCOM changes in Gecko 2.0

  3. The add-on bar

  4. How to build an XPCOM Component in Javascript


Trackbacks

No Trackbacks

Comments
Display comments as (Linear | Threaded)

1
add the following to hkwwservice.js for FF4 compatible

function NSGetFactory(cid) { return hkwwserviceFactory; }
Anonymous on
Wednesday, February 2. 2011
2
Also add the following to chrome.manifest for FF4 compatible

# The {classID} here must match the classID in hkwwservice.js
component {9f8a59a3-c8ff-4aee-9aad-6315b9f0ddd9} components/hkwwservice.js
contract @isaac.chau/hkwwservice;1 {9f8a59a3-c8ff-4aee-9aad-6315b9f0ddd9}
category profile-after-change hkwwservice @isaac.chau/hkwwservice;1
Anonymous on
Wednesday, February 2. 2011
2.1
Thank you very much :-)
Isaac Chau on
Wednesday, February 9. 2011

Add Comment


Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA




Submitted comments will be subject to moderation before being displayed.