Coder Social home page Coder Social logo

Comments (3)

MaffooClock avatar MaffooClock commented on August 16, 2024

Well, I just compared the regex with the UA string in my example link above, and there is no "Tablet" in the regex. Hmm, not sure which string IE is triggering Mobile Fu, but it does happen. I'll have to find a browser that's doing this and get the exact UA string.

from mobile-fu.

yanhuiyi avatar yanhuiyi commented on August 16, 2024

I came across the same issue when I use categorizr.js, a client side device detection script written in JavaScript. It happened on some IE10/Windows7(32bit), which contains 'Tablet PC 2.0' string in UA, well doesn't have on others with the same version IE and OS.

http://www.zytrax.com/tech/web/msie-history.html lists updated IE UA history, you will find all UA with 'Tablet PC' but without categories on which version on which devices.

Not sure if you can fix by a RegExp something like:

ua.match(/tablet/i) && !ua.match(/tablet pc/i)

Any ideas?

from mobile-fu.

benlangfeld avatar benlangfeld commented on August 16, 2024

This project is abandoned. Please see the active fork at http://github.com/benlangfeld/mobile-fu. Please test with the released gem and master branch of the new home for the project, and file an issue on the other repo if you still have problems.

See #40.

from mobile-fu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.