Changeset 318 for trunk/iMT

Show
Ignore:
Timestamp:
09/11/07 18:44:39 (2 years ago)
Author:
bchoate
Message:

Experimental support for Opera Mini 4.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/iMT/plugins/iMT/iMT.pl

    r314 r318  
    1111 
    1212my $enabled = 0; 
    13 our $VERSION = '1.0'; 
     13our $VERSION = '1.01'; 
    1414my $plugin = __PACKAGE__->new({ 
    1515    name        => "iPhone / iPod touch UI Support", 
     
    7878        #    http://trac.webkit.org/projects/webkit/wiki/DetectingWebKit 
    7979        if (my $ua = $ENV{HTTP_USER_AGENT}) { 
    80             if (( $ua =~ m!AppleWebKit/! ) && ( $ua =~ m!Mobile/! )) { 
     80            if ((( $ua =~ m!AppleWebKit/! ) && ( $ua =~ m!Mobile/! )) || 
     81                 ( $ua =~ m!Opera Mini/!)) { 
    8182                $enabled = 1; 
    8283