Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile detection #1

Open
morinoalaria opened this issue Oct 11, 2016 · 2 comments
Open

Mobile detection #1

morinoalaria opened this issue Oct 11, 2016 · 2 comments

Comments

@morinoalaria
Copy link

I love the idea for this plugin, but is there a way to have it detect whether its on mobile, and only run then? I think our desktop users might get annoyed by phone links.

Maybe adding this or something like it?
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {}

@justinwhall
Copy link
Owner

I suppose. Although, more and more folks are using tel links on desktop - I do. It's not a bad feature addition however for those who think it looks bad on desktop.

@morinoalaria
Copy link
Author

Didn't realize people were starting to use tel: on desktop. Will have to
think about that :)

Jamie Klenetsky Fay
Singer, Composer, Designer
http://jamieklenetsky.com
http://newmusicnj.com

On Tue, Oct 11, 2016 at 4:12 PM, Justin W Hall notifications@github.com
wrote:

I suppose. Although, more and more folks are using tel links on desktop -
I do. It's not a bad feature addition however for those who think it looks
bad on desktop.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADp5e1y6wUXmECIBH8wH-0O2Ah4SRMXWks5qy-2agaJpZM4KUDC5
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants