Feature request: Exclude desktop/mobile browsers
See original GitHub issueIf I wanted to support only desktop browsers, for example, it would be nice to use a normal query but add a directive to exclude mobile browsers (or vice versa).
Possible example syntax: last 3 versions, desktop only
Issue Analytics
- State:
- Created 7 years ago
- Reactions:8
- Comments:23 (9 by maintainers)
Top Results From Across the Web
How to prevent request desktop version in MOBILE BROWSER
I create function to prevent mobile access with width and library phone. It works. But, Google Chrome has a feature request desktop version....
Read more >Feature Request: Remove or Redirect "microsoft-edge ...
I am a heavy Windows user (multiple desktops and laptops), ... Feature Request: Remove or Redirect "microsoft-edge://" Protocol in Windows ...
Read more >Please remove Browser and keep only Vivaldi
Please remove Browser and keep only Vivaldi. Mobile Feature Requests ... So would it be better if we remove the Browser word and...
Read more >Disable "Switch to Mobile View" header on mobile browsers
Note, JIRA mobile is a System Plugin. Without administrator permission. IOS. go to JIRA in the Safari browser, click the Share Icon, choose...
Read more >169642 - Remove ~300ms delay on tap for mobile sites (those ...
The web community is keen on zooming as an a11y feature ... Empirically I already find I accidentally click links a lot with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@g0t4 this reason is exactly bad practice what I told about 😉.
A lot of poor people don’t have desktop. They have only bad phones with UC Browser (because it save Internet).
I travel every 2 weeks and for that day I don’t have access to my laptop. I have only phones.
Desktop-only feature is bad for humanity in general and for every phone user (including me) in practice.
So, my answer is still “no”. I became a developer to make the world a little better. Adding this desktop-only query will force developers to ignore people without desktops or people who have no desktop at this moment.
Quite a few business apps are only designed for desktop use. It’s not about being impossible, it’s just that in these cases mobile doesn’t matter.
Just like sometimes a business only has US customers and so they care more about US market share as opposed to the rest of the world. In which case it’s more likely that this app would include some IE support, whereas with international usage IE may not be important.
The data source for caniuse.com (http://gs.statcounter.com/) tracks many interesting dimensions that are helpful to making decisions about what browsers to support, it might be nice to have more of these available in browserslist to avoid manual translation and periodic updates to criteria.