[Project_owners] Open webpage after install update

joe ertaba belaviyo at gmail.com
Mon Feb 11 11:39:19 PST 2008


is there any function available  to find out extension version (extension
version in install.rdf file) to use it in other places?

On Feb 11, 2008 7:53 PM, Eric H. Jung <eric.jung at yahoo.com> wrote:

>
>
> --- Ezequiel Calderara <ezechico at gmail.com> wrote:
>
> > this is what showcase does:
> >
> > showWelcomeScreenIfNeeded: function() {
> >         if (ShowcaseCache.prefs.getBoolPref("firstRunRedirection")) {
> >           var currentVersion = ShowcaseCache.prefs.getCharPref
> > ("currentVersion");
> >
> >           if (currentVersion != "0.9.4.6") {
> >             ShowcaseCache.prefs.setCharPref("currentVersion", "0.9.4.6
> ");
> >             var targetURL;
> >             if (currentVersion == "none") {
> >               targetURL = "http://showcase.uworks.net/welcome.html";
> >             } else {
> >               targetURL = "http://showcase.uworks.net/updated.html";
> >             }
> >             var newTab = getBrowser().addTab(targetURL);
> >             getBrowser().selectedTab = newTab;
> >           }
> >         }
> >       },
>
>
> A nice enhancement to the below code would be to change
> http://showcase.uworks.net/updated.html to
> instead point to the newly-installed version. Example:
> http://showcase.uworks.net/updated.html#0.9.4.6
> or
> http://showcase.uworks.net/updates/0.9.4.6.html
> This way the user can easily read release notes specifically for his
> update.
>
>
>
>
>  ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile.  Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> https://www.mozdev.org/mailman/listinfo/project_owners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mozdev.org/pipermail/project_owners/attachments/20080211/0cc4fd16/attachment.html 


More information about the Project_owners mailing list