iframe-utils.js
Go to the documentation of this file.
2  Components.classes['@mozilla.org/appshell/window-mediator;1']
3  .getService(Components.interfaces.nsIWindowMediator)
4  .getMostRecentWindow('Songbird:Main').gBrowser
5  .loadOneTab(href)
6 }
7 
8 window.addEvent('click', function(e) {
9  var target = e.target;
10  while (target != null && !target.href)
11  target = target.parentNode;
12  if (target == null)
13  return;
14  if (target.href) {
15  mashTape_openLink(target.href);
16  e.stop();
17  }
18 });
19 
let window
Element Properties href
function mashTape_openLink(href)
Definition: iframe-utils.js:1
return null
Definition: FeedWriter.js:1143
if(DEBUG_DATAREMOTES)