Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

iPhone redirect pop up

Featured Replies

Hey all,

I am working on an iphone version of one of our sites and want to get a pop up message asking them if they want to be redirected or not

 

does anyone have any example links i can look at?

 

i have tried googling but all i can find is auto redirects but i think i would prefer to give them the option as to which version they want to see

 

Thanks in advance

  • Author

thank you for the link but i would prefer to give the users the option of visiting the mobile version of the site or the full desktop version

what? if they are on the phone it redirects them, why would you want to view the other and so on?

  • Author

I want them to be able to view the full site as well as that's what they are used to so i don't want to force people into using the iPhone version of the site if they dont want to

 

the auto redirects work perfectly but i would prefer to give them the option

 

thanks

easy in javascript:

 

- get navigator.useragent

- check if it contains iphone or ipad part, something like /iphone/i regexp

- show popup

- window.location = "http://mymobileweb.tld"

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.