Hi, I have a working xul extension. But when I try to do a split on the target it stops working.
var target = event.originalTarget;
window.alert(target); //works
var site = target.split("?");
window.alert(site[0]); //does not work
Should I try it a different way?