Comments (4)
iPad with iPad OS13 shows fake User Agent.
This is what in iPad's Safari Settings called "Request Desktop Website" and this is ON by default.
If I change it to OFF I see correct info:
I needed to show notification only on desktop safari and I used is.not.touchDevice() && is.safari() to detect if it is not iPad. Only this helped me.
from is.js.
I've migrated the entire repo to ES6 and merged/fixed a few things along the way... can you try again with https://github.com/evdama/is-it-check as I've added a fix/feature for iOS13 today evdama@06f7d54
from is.js.
As of now, on an iPad Pro (12.9-inch) (4th gen) running iPadOS 15.4, hereโs what returns:
is.js
is.tablet() // false
is.ios() // false
is.safari() // true
is.ipad() // false
is.mobile() // false
is-it-check
is.tablet() // true
is.ios() // true
is.safari() // true
is.ipad() // true
is.mobile() // true
๐
from is.js.
excellent, so I consider this fixed in is-it-check
๐
did you test with is-it-check
v1.0.11, which is the current version I pushed to npm?
from is.js.
Related Issues (20)
- Feature: Support for identify IOS 13 HOT 1
- logical && and logical || HOT 2
- is.chrome() environment check invalid for Chrome 77 - macOS (Mojave)
- is.number returns True for `Infinity` and `-Infinity` HOT 2
- documentation for `is.palindrome` should explain limitation HOT 1
- This lib do nots work in Vue.js HOT 2
- is.empty(undefined) returns false
- is.edge() returns false in edge (tested on windows and mac os) HOT 3
- is.chrome() returns true in edge HOT 2
- Getting error when checking if window is defined HOT 4
- How to import this into webpack or laravel-mix?
- Security Issue: Request for contact HOT 5
- is.safari() return true in MS Edge browser HOT 2
- TypeScript support? HOT 6
- is.chrome() return true in MS Edge browser and is.not.edge() return true in MS edge as well.
- Trying to get in touch regarding a security issue HOT 8
- Contributing new features? HOT 2
- Vulnerability
- npm.js ๅฎ็ฝไธ ๅๅธ็็ๆฌๆฏ 0.9.0๏ผไปฃ็ ไธ็็ๆฌๆฏ 0.8.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from is.js.