question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: Exclude desktop/mobile browsers

See original GitHub issue

If 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:closed
  • Created 7 years ago
  • Reactions:8
  • Comments:23 (9 by maintainers)

github_iconTop GitHub Comments

30reactions
aicommented, Aug 1, 2017

@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.

11reactions
g0t4commented, Jul 31, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found