Index: trunk/extensions/ArticleFeedbackv5/modules/ext.articleFeedbackv5/ext.articleFeedbackv5.startup.js |
— | — | @@ -16,6 +16,18 @@ |
17 | 17 | /*** Main entry point ***/ |
18 | 18 | jQuery( function( $ ) { |
19 | 19 | |
| 20 | + var ua = navigator.appVersion.toLowerCase(); |
| 21 | + // Rule out MSIE 6, iPhone, iPod, iPad, Android |
| 22 | + if( |
| 23 | + (ua.indexOf( 'msie 6' ) != -1) || |
| 24 | + (ua.indexOf( 'android' ) != -1) || |
| 25 | + (ua.indexOf( 'iphone' ) != -1) || |
| 26 | + (ua.indexOf( 'ipod' ) != -1 ) || |
| 27 | + (ua.indexOf( 'ipad' ) != -1) |
| 28 | + ) { |
| 29 | + return; |
| 30 | + } |
| 31 | + |
20 | 32 | // Load check, is this page ArticleFeedbackv5-enabled ? |
21 | 33 | // Keep in sync with ApiArticleFeedbackv5.php |
22 | 34 | if ( |