[Project_owners] Release notes for extensions

Gary Johnson gary.johnson.53 at gmail.com
Mon Sep 10 12:55:34 PDT 2007


I call this from the my addons options window to open a page in a new
window.  I use it to link to help for my extension.  I like browser
windows because I find html and css more flexible than xul.

(I have yet to get something to open in a tab).

//when calling this from extensions dialog, I don't have access to
browser js code
	var myurl = getCBPath("tools", "GaryDefaultNavigation.html", "")

	document.commandDispatcher.focusedWindow.open(myurl);

//this closes my options window, It leaves the addons box open
	var theDID = getElement('gj53runOptionDialog');
	theDID.acceptDialog();

============================

If someone thinks to right click on your extension in the addons
manager, we can direct them to our pages, but they do have to realize
its clickable.  Its not obvious and many if not most XUL windows I
open are not right clickable

from install.rdf

<em:name>gj53run</em:name>
    <em:description>FastTrack Extension for Learn to Cook
application</em:description>
    <em:creator>Gary Johnson</em:creator>
    <em:homepageURL>http://mywebpages.comcast.net/adgj/</em:homepageURL>

=============================

  "I read recipes the way I read science fiction:  I get to the end
and say,'Well, that's not going to happen.'"  - Comedian Rita Rudner,

Whenever I have to decide between two evils, I always choose the one I
haven't tried before. -Mae West
Lead me not into temptation... I can find it myself!
I hope to be the kind of person my dog thinks I am.   :)>


More information about the Project_owners mailing list