[Slogger] Slogger patch for better logging of background tabs

Predrag Radovic predrg at gmail.com
Sat May 5 09:32:55 PDT 2007


Hello,

Here is the small patch for better logging of the background tabs. 
Global constants are renamed to avoid global namespace collisions with 
several other extensions. Patch is made only on 'slogger.js' from 
installation package version 0.6.20061221 (currently the latest).

I would suggest refactoring of the Slogger code to minimize the 
probability for future collision with other extensions. According to the 
mailing list archive, 
http://mozdev.org/pipermail/slogger/2007-February/000325.html, Michael 
Robinson already started some refactoring work.

I also attached an example profile 'xml.js' for logging referrer and 
previous history location to XML file. Example demonstrates use of 
locally accessible argument 'doc' in a custom script.

Good luck and many thanks for the useful extension to the original 
author and contributors,
Predrag

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/slogger/attachments/20070505/c29f62bf/attachment.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: slogger-logging_of_background_tabs.patch
Url: http://mozdev.org/pipermail/slogger/attachments/20070505/c29f62bf/attachment.ksh 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xml.js
Type: application/x-js
Size: 6035 bytes
Desc: not available
Url : http://mozdev.org/pipermail/slogger/attachments/20070505/c29f62bf/attachment.bin 


More information about the Slogger mailing list