are using a browser extension to selectively enable or disable
Describe your changes (optional):
Review Request #2321
Created April 27, 2011 and submitted
Changed code syntax to avoid potential python 2.4 incompatibility.
Tested on localhost, no errors found.
Pushed to master as 885f880. Thanks!