 var linkTargetFinder = function () {     return {         init : function () {             gBrowser.addEventListener("load", function () {                      // ...                 }             }, false);         },          run : function () {              var head = content.document.getElementsByTagName("head")[0]