browser-detection
iOS/mobile detection with devise
So I\'m using User Agent detection to serve different views within my app by serving example.mobile.haml rather than example.html.haml. It\'s all working fine apart from some funny things happening wi[详细]
2023-03-15 20:17 分类:问答detecting iPad in javascript without using user-agent?
I have a javascript code that I don\'t want it to run on iPads. is there a way to detect an iPad using javaScript without using user-agent.[详细]
2023-03-13 08:29 分类:问答How can I detect what browser my Silverlight application is running in?
I need to know because I have to run external (popup) features that use ActiveX开发者_如何学运维 (which I can\'t help).I want to disable (or hide) buttons that activate these features.Have you looked[详细]
2023-03-07 12:46 分类:问答How to detect a mobile device using jQuery
Is there a way to detect whether or not a user is using a mobile device in jQue开发者_如何学Gory? Something similar to the CSS @media attribute? I would like to run a different script if the browser i[详细]
2023-03-07 05:20 分类:问答How can I tell how a website is determining if the browser has JS enabled?
We have a Perl script that emulates a browser using LWP::UserAgent to login to a website and download some data. Recently that website was changed so that you have to have JavaScript enabled in order[详细]
2023-03-05 13:58 分类:问答How can you detect the version of a browser?
I\'ve been searching around for code that would let me detect if the user visiting the website has Firefox 3 or 4. All I have found is code to detect the type of browser but not the version.[详细]
2023-03-04 12:07 分类:问答Prevent IE6 visitors
How can I drop the using of IE6 to browse my websi开发者_高级运维te ? Something like : if ie6 => die[详细]
2023-03-03 23:42 分类:问答iPhone4 retina display detection with PHP and/or JavaScript
I\'m creating a detection script that sniffs out any device (currently only iPhone4) with a retina display (or similar) when a user arrives at my site. Because the resolution is greater, I need to pus[详细]
2023-03-03 17:15 分类:问答How can I hide like button or div from Firefox?
I am building a web page and I have included Facebook\'s Like button. Works great in all browsers but not in Firefox. When clicked in Firefox, it creates an endless loop of opening and closing a faceb[详细]
2023-02-22 22:56 分类:问答Best way to check for IE less than 9 in JavaScript without library
What开发者_如何学Go would be your fastest, shortest (best) way to detect browser which is IE and version less than 9 in JavaScript, without using jQuery or any add-on libraries?Javascript[详细]
2023-02-22 09:52 分类:问答