Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Detect Opening Folder

Some actions require execution every time you open a folder (for example, registering a custom column handler. To do this you need to capture the select event of the folder [[XUL:tree|tree]] whose id is (conveniently) folderTree like so:

window.document.getElementById('folderTree').addEventListener("select", testColumns, false);

Document Tags and Contributors

Tags: 
 Contributors to this page: wbamberg, jllogan
 Last updated by: wbamberg,