How to exclude mobile browsers from the result?
See original GitHub issueThis is not working last 2 versions not mobile
here http://browserl.ist/?q=last+2+versions+not+mobile
Issue Analytics
- State:
- Created 7 years ago
- Comments:20 (10 by maintainers)
Top Results From Across the Web
Exclude Code from Running in Mobile Browser - Stack Overflow
I specifically want to exclude certain images and flash files from showing on a website - but only when viewed on a mobile...
Read more >Filter explicit results using SafeSearch - Google Support
On your Android phone or tablet, open the Google app . · At the top right, tap your Profile picture or initial and...
Read more >How to exclude mobile browser settings from web browser settings ...
It's syncing the settings. In one of them, go into settings and find Sync. Then there should be something called Manage Sync. Deselect...
Read more >How to exclude mobile apps from Google display ads without ...
Click on the Add negative mobile app category in the upper menu. You can then select to add these category exclusions from the...
Read more >Exclude pages from search results based on device class ...
If you would like to block page from being crawled in Google mobile indexed Add the code below to your robots.txt file, and...
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
We Exclude it name by name. I don’t want to add shortcut for it, because it is very bad practice. Web should be accessible for mobile users too — there is many poor people without PC and only with cheap Android.
@danpantry I see two options here:
not mobile
query. You with 10+ developers are a little happy (because it is syntax sugar you can still ignore mobile with long query). 10 000+ people are not really happy (instead of your case, the website will not work on mobile devices and they will not have any option to avoid this problem compare to you), because other bad developers will usenot mobile
on the wrong case.Yeap, I know that we are all put our wishes above. And I understand that syntax sugar with one
not mobile
query is always better than long config.But this is a good example of a hard choice. When few people should suffer to protect others. I think it is a good deal since you still can remove mobile browsers, Just list them by the name
not android > 0, …
.If you want, you can create a sharable Browserslist config with this list. https://github.com/browserslist/browserslist#shareable-configs