Index: trunk/extensions/WikimediaMobile/MobileRedirect.js |
— | — | @@ -5,7 +5,7 @@ |
6 | 6 | * |
7 | 7 | * You can turn off the redirect by setting the cookie "stopMobileRedirect=true" |
8 | 8 | */ |
9 | | -if ( /(iPhone|iPod|Android.*Mobile|webOS|NetFront|Opera Mini|SEMC-Browser|PlayStation Portable|Nintendo Wii|BlackBerry|Bada|NokiaBrowser|MeeGo)/ |
| 9 | +if ( /(iPhone|iPod|Android.*Mobile|webOS|NetFront|Opera Mini|SEMC-Browser|PlayStation Portable|Nintendo Wii|BlackBerry|Bada|NokiaBrowser|MeeGo|Nokia)/ |
10 | 10 | .test( navigator.userAgent ) ) |
11 | 11 | { |
12 | 12 | if ( (document.cookie.indexOf("irect=t") < 0) // Don't redirect if we have the stop cookie ... only testing a subportion of the cookie. Should be REALLY unique! |