• Previous message: [greg-dev] rfc: Feeds & Firefox 2.0
  • Next message: [greg-dev] FireStats
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    [greg-dev] rfc: Feeds & Firefox 2.0

    Phil,
    
    thank you for the heads-up. Martey has committed the feature as you
    have suggested it [1] and it seems to be working fine.
    
    Thanks to Martey too, for the fine patch!
    
     -m
    
    
    [1] http://svn.gregarius.net/trac/changeset/1601
    
    
    
    
    On 10/9/06, Phil Ringnalda <philringnalda at gmail.com> wrote:
    > Marco Bonetti wrote:
    > > Of course, the link should only be shown on Firefox 2.0+:
    > >
    > > rss_require('extlib/browser.php');
    > > $b=new Browser();
    > > if ($b->Name == 'Firefox' && (double) ($b->Version) >= 2.0) {
    > >  // Display the fine javascript link and some basic
    > >  // explanation on how to use subscribe to new feeds.
    > > }
    > >
    >
    > Naughty, naughty. You should only look at specific versions of specific
    > browsers when you are working around bugs in them, not when you are
    > looking for features. Not only will that fail to work with Opera 10.1
    > and IE8 and the extension for Firefox 1.5.x I'll never get around to
    > writing, it will also fail to work in "Debian Browser" and "Iceweasel"
    > Firefox-alikes.
    >
    > if (navigator && typeof(navigator.registerContentHandler) == "function")
    > is much safer.
    >
    > Phil Ringnalda
    > _______________________________________________
    > gregarius-dev mailing list
    > gregarius-dev at sinless.org
    > http://sinless.org/mailman/listinfo/gregarius-dev
    >
    
    Posted by Marco Bonetti [reply] at Tue Oct 10 13:34:13 CEST 2006