Changes

Jump to: navigation, search

CSS Checker JetPack Extension

350 bytes added, 11:52, 16 December 2010
Project Details
'''Add-on SDK Code'''
* [https://github.com/manoutoftime/cssChecker/blob/master/lib/main.js main.js ] - executed upon launch; connects UI, pagemods and utility functions together.
:* Populates UI
:* Attaches pagemod.js to loading web pages
:* Downloads external files
* [https://github.com/manoutoftime/cssChecker/blob/master/lib/funcs.js funcs.js ] - a library with utility functions.
:* <code>parseCSS(css)</code> - parses CSS
::* Arguments: CSS Style Sheet in String format
::* Note: stolen from Firebug project
* [https://github.com/manoutoftime/cssChecker/blob/master/lib/ui.js ui.js ] - a library that deals with User Interface.
:* <code>populateUI()</code> - populates widget
::* Arguments: None
'''Content Scripts'''
* [https://github.com/manoutoftime/cssChecker/blob/master/data/pagemod.js pagemod.js ] - a script that is attached to all loading webpages.
:* Sends CSS either as clear text or as a link to the add-on.
:* Receives a list of styles to be applied and XPath to apply styles to.
* [https://github.com/manoutoftime/cssChecker/blob/master/data/panel.js panel.js ] - a script that modifies and sends status information to the add-on.
== Project News ==

Navigation menu