Smartphone Bookmark - javascript

I am working on smartphone site. Is there a way to set "Bookmark this site" button on both Android and iPhone site like old school website?

No, there isn't, and I hope nobody implements this, it is too obstrusive.
What some sites do, at last on iPhone, is to create a popup pointing to the bookmark button (see youtube mobile) asking if the user wants to bookmark it.

Related

How to make a website that Supports Google Chrome Add to Home screen?

I have a question about how to make a website that supports Add to Homescreen in Google chrome.
That's mean some websites like web.whatsapp.com when clicking on the Add to home screen, Website shortcut add to my home screen but when I open it, it has different, It opens in fullscreen mode and hide Google chrome options.
please say how to create a website like that.
I think they are called PWA (Progressive Web App) you can find information online on how to create those apps from scratch.

Detect whether ios, android or desktop to launch different links?

I m trying to make my website social icon, refer to a link (when clicked) based on the platform being used on. like the following:
if The website is opened on ios phone, ipad... to launch a specific deep link.
if The website is opened on android phone ... to launch a specific deep link.
if The website is opened on desktop pc ... to launch a specific link.
Thank you!
You can use HTTP Header.
See: https://en.wikipedia.org/wiki/List_of_HTTP_header_fields
Through the User-Agent field you can get the browser version etc. Other header could be interesting for you, too.

Is there any "bookmark web icon" function in the android browser?

In Iphone , the web icon function is something like when browsing the website, if I click on add to homescreen, then there will be a shortcut for the website on the homescreen, so the user later click on that icon will open the browser and go to the bookmarked website.
Are there any jquery plugin or something to implement this on android? Thanks
It should be some plugin like this, but for android
https://code.google.com/p/mobile-bookmark-bubble/
In reference to your post i got some links which i got from web as well as other discussions going in stack, here iam pasting the hope they may help you
JQuery Mobile Add the Home Screen Options?
How to add android bookmark on homescreen from web page?
http://cubiq.org/add-to-home-screen
http://blog.linuxacademy.com/mobile/create-an-add-to-home-screen-popup-html5-or-jquery-mobile/
"Add to homescreen" button in Android does not show website as a Web App

How does google show this special iOS advert?

Hi all sorry if this is repost. I really searched but can't find anything on it.
I always see this special ad when I use google services on my iphone or ipad. This little window animates out looking like a chat box. I can detect iOS device using user agent but how do I make the advert appear like google does? Specifically, try to open google maps.
I would like to use a window like this when users use iOS device to access my website. It is the most elegant way to tell iOS user about your app while not annoying them with some roadblock each time you try to access with iOS device.
Here is an image of what I'm talking about:
You can use this Javascript: http://cubiq.org/add-to-home-screen
I don't know whether this is your expectation, When your page has access from any iOS device, you wanted to bring up that dialog in webpage Right?..If That is the case then just retrieve the os info and make check there and do your presentation as you want.

iOs And Android: create a bookmark -shortcut- in homescreen by javascript

I am developing a web cross-browser app.
I want that, clicking on "ADD HOME" icon, by Javascript detects the OS (Android, iOs, BB...) and creates a Shortcut (bookmark) on the HomeScreen.
Is it possible?
Thanks a lot.
At least on iOS(4.x) it isn't possible.
Read Javascript for "Add to Home Screen" on iPhone? for details. As it is suggested, you can add a bubble, dialog or some other information to guide the user for using iOS's own functionality.

Categories

Resources