Hm, I can't seem to reproduce it. This snippet worked fine for me.

function cmd_testUserScriptCommand(){
  var mi = (Utils.currentChromeWindow.document
            .querySelector('#userscript-commands-sb > menupopup > menuitem'));
  mi && mi._commandFunc();
}

--

You received this message because you are subscribed to the Google Groups 
"ubiquity-firefox" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/ubiquity-firefox?hl=en.


Reply via email to