mobile-fu icon indicating copy to clipboard operation
mobile-fu copied to clipboard

Exclude iPad from mobile view

Open keilmillerjr opened this issue 13 years ago • 16 comments

There is no way to have the iPad not load a mobile view and mobile CSS!

The iPad is a mobile device and includes the string mobile in the user agent string. Because of this, even if I have removed the ipad string from MOBILE_USER_AGENTS, mobile-fu will still recognize it as a mobile device.

The problem is that some web sites work well and are designed to work well with the iPad and other tablet devices. These types of mobile devices have enough screen real estate where some sites would work well, and others wouldn't.

This issue needs to be addressed! The issue has already been commented on in the commits -> comments section by 3 people starting in May 2010!

  • tsmango commented on brendanlim/mobile-fu May 17, 2010
  • brendanlim commented on brendanlim/mobile-fu April 07, 2010
  • kineticac commented on brendanlim/mobile-fu April 06, 2010

Possible resolution

Allow an option to disable tablets from the mobile user agents or perhaps even better: create a MIME type of :tablet and have tablets have their own views/css.

Please let me know what your thoughts are. I only write this because I think mobile-fu is a great plugin and would like to see it improve (and see it made usable).

Thanks,

Keil

keilmillerjr avatar May 24 '11 00:05 keilmillerjr

If you could please refile this issue on my fork, I should be able to sort something out.

benlangfeld avatar Jul 01 '11 14:07 benlangfeld

Guys, how did this go? Has this been merged into the main fork?

rodgersn avatar Aug 05 '11 17:08 rodgersn

This repo is inactive and I've not received anything to my fork.

benlangfeld avatar Aug 05 '11 22:08 benlangfeld

Sorry, I'll be working on merging your fork in this weekend.

brendanlim avatar Aug 06 '11 02:08 brendanlim

I came here to open a ticket about the exact same thing. I don't want to serve a "crippled" mobile-view to iPads which render normal websites just fine.

I like the view.tablet idea too though if one Would like to serve something special to a pad.

ippa avatar Oct 05 '11 01:10 ippa

There should be a custom excludes one can set maybe

flippyhead avatar Nov 02 '11 03:11 flippyhead

Agree with flippyhead, would be nice to enable custom excludes.

oceanshq avatar Nov 06 '11 21:11 oceanshq

Any updates on this issue? Is mobile-fu still in development?

keilmillerjr avatar Nov 21 '11 22:11 keilmillerjr

@tuscanidream: Not at this repository, no. I am accepting pull requests at benlangfeld/mobile-fu (this is where the gem is published from) and would welcome this as a feature submission.

benlangfeld avatar Nov 22 '11 13:11 benlangfeld

added the TABLET_USER_AGENTS but this is my first time working on gem, can some body check my code if it is correct?

SentulAsia avatar Feb 11 '12 06:02 SentulAsia

I haven't tried it yet, but thanks @atuk84 for the addition. :)

keilmillerjr avatar Apr 03 '12 16:04 keilmillerjr

I have need of this feature as well. Is anything happening with it? Can I help in some way to move this forward?

jpmcgrath avatar Jun 18 '12 10:06 jpmcgrath

download the latest mobile-fu gem... its there...

SentulAsia avatar Jun 18 '12 10:06 SentulAsia

@jpmcgrath This repo is unmaintained. The gem includes this.

benlangfeld avatar Jun 18 '12 10:06 benlangfeld

Thanks @atuk84 @benlangfeld Amazingly quick respnse :-)

I had just noticed that this didn't seem to be the active repo, thanks for the confirmation. I will check out the new version now.

Cheers.

jpmcgrath avatar Jun 18 '12 10:06 jpmcgrath

This project is abandoned. Please see the active fork at http://github.com/benlangfeld/mobile-fu. Please test with the released gem and master branch of the new home for the project, and file an issue on the other repo if you still have problems.

See #40.

benlangfeld avatar Dec 11 '13 14:12 benlangfeld