[xul-interop] Trying to run "Hello World" extension
Tom Brito <[email protected]> Thu, 14 Oct 2010 15:29:11 -0300
| Newsgroups | gmane.comp.lang.xul.general |
|---|---|
| Message-ID | <[email protected]> |
--===============2310846835059421694== Content-Type: multipart/alternative; boundary=0016367b6c30283c3b049297e418 --0016367b6c30283c3b049297e418 Content-Type: text/plain; charset=ISO-8859-1 Hello! The Building an Extension tutorial<https://developer.mozilla.org/en/Building_an_Extension>has a helloworld extension example <http://mozilla.doslash.org/stuff/helloworld.zip>, and the readme.txt says to: 1. Unzip this package to any location, e.g. c:\dev 2. Put the path to the "helloworld" folder (e.g. c:\dev\helloworld) in the "[email protected]" file and move that file to [profile folder]\extensions\ 3. Restart Firefox. It should show a "Hello World" red in the status bar, but I'm seeing nothing.. Either nothing using this other overlay.xul: <?xml version="1.0"?> <overlay id="sample" xmlns=" http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <statusbar id="status-bar"> <statusbarpanel id="panelId" label="Hello, World" /> </statusbar> </overlay> any idea what can be wrong here? The extension is successful installed, but the "Hello World" is not shown.. (using Ubuntu 10.04 and Firefox 3.6.10) (yes, I updated maxVersion value in the example) * Wellington B. de Carvalho * --0016367b6c30283c3b049297e418 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf-8">He= llo!<br><br>The=A0<a href=3D"https://developer.mozilla.org/en/Building_an_E= xtension">Building an Extension=A0tutorial</a> has a=A0<a href=3D"http://mo= zilla.doslash.org/stuff/helloworld.zip">helloworld extension example</a>, a= nd the readme.txt says to:<br> <br><blockquote class=3D"gmail_quote" style=3D"margin-top: 0px; margin-righ= t: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; bor= der-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left:= 1ex; "> 1. Unzip this package to any location, e.g. c:\dev</blockquote><blockquote = class=3D"gmail_quote" style=3D"margin-top: 0px; margin-right: 0px; margin-b= ottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: = rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; "> 2. Put the path to the "helloworld" folder (e.g. c:\dev\helloworl= d) in the=A0</blockquote><blockquote class=3D"gmail_quote" style=3D"margin-= top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border= -left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style:= solid; padding-left: 1ex; "> "<a href=3D"mailto:[email protected]">helloworld@mozilla.= doslash.org</a>" file and move that file to=A0</blockquote><blockquote= class=3D"gmail_quote" style=3D"margin-top: 0px; margin-right: 0px; margin-= bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color:= rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; "> [profile folder]\extensions\</blockquote><blockquote class=3D"gmail_quote" = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-lef= t: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); bo= rder-left-style: solid; padding-left: 1ex; "> 3. Restart Firefox.</blockquote><br>It should show a "Hello World"= ; red in the status bar, but I'm seeing nothing.. =A0<br><br>Either not= hing using this other overlay.xul:<div><div><font class=3D"Apple-style-span= " color=3D"#333333" face=3D"'Lucida Grande', 'Trebuchet MS'= , Verdana, Helvetica, Arial, sans-serif" size=3D"3"><span class=3D"Apple-st= yle-span" style=3D"font-size: 12px; line-height: 16px;"><br> </span></font></div></div><blockquote class=3D"webkit-indent-blockquote" st= yle=3D"margin: 0 0 0 40px; border: none; padding: 0px;"><div><font class=3D= "Apple-style-span" face=3D"'courier new', monospace"><?xml versi= on=3D"1.0"?></font></div> <div><font class=3D"Apple-style-span" face=3D"'courier new', monosp= ace"><overlay id=3D"sample"=A0</font></div><div><font class=3D= "Apple-style-span" face=3D"'courier new', monospace">=A0=A0 =A0 =A0= =A0 xmlns=3D"<a href=3D"http://www.mozilla.org/keymaster/gatekeeper/t= here.is.only.xul">http://www.mozilla.org/keymaster/gatekeeper/there.is.only= .xul</a>"></font></div> <div><font class=3D"Apple-style-span" face=3D"'courier new', monosp= ace"><statusbar id=3D"status-bar"></font></div><div><font c= lass=3D"Apple-style-span" face=3D"'courier new', monospace">=A0=A0&= lt;statusbarpanel id=3D"panelId" label=3D"Hello, World"= =A0 /></font></div> <div><font class=3D"Apple-style-span" face=3D"'courier new', monosp= ace"></statusbar></font></div><div><font class=3D"Apple-style-span" f= ace=3D"'courier new', monospace"></overlay></font></div></blo= ckquote> <div><div><font class=3D"Apple-style-span" color=3D"#333333" face=3D"'L= ucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-= serif" size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: 12px= ; line-height: 16px; "><br> </span></font>any idea what can be wrong here?<br><br></div><div>The extens= ion is successful installed, but the "Hello World" is not shown..= </div><div><br></div><div>(using Ubuntu 10.04 and Firefox 3.6.10)</div> <div>(yes, I updated maxVersion value in the example)<br><div><br></div><di= v><br></div><i><div style=3D"text-align:left"><span style=3D"font-style:nor= mal"><i>Wellington B. de Carvalho</i></span></div></i><br> </div></div> --0016367b6c30283c3b049297e418-- --===============2310846835059421694== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb --===============2310846835059421694== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ XUL News Wire - http://xulnews.com XUL Job Postings - http://xuljobs.com Open XUL Alliance - http://xulalliance.org _______________________________________________ xul-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xul-talk --===============2310846835059421694==--