Configuring Android Web Applications

When you create a shortcut on the home screen to a bookmark, Android will use a apple-touch-icon-precomposed if present (but not apple-touch-icon) as a high-res icon: <link rel=”apple-touch-icon-precomposed” href=”https://stackoverflow.com/custom_icon.png”/> As for the rest of the features, I don’t think there’s any way to do this at present without publishing an Android app that acts as … Read more

Bookmarkability via View Parameters feature

First we need to understand what exactly “bookmarkability” is and what exactly includeViewParams does. This way the effect of the combination of both can be better understood. Bookmarkability concerns the HTTP request URL in its exact form as you see in the browser’s address bar. It’s exactly the URL as the enduser would store in … Read more

Add to browser favorites/bookmarks from JavaScript but for all browsers (mine doesn’t work in Chrome)?

Sorry, but there’s no cross-browser way to do this. Your FF example is broken as well: It won’t create a regular bookmark, but a bookmark set to be opened in the sidebar. You’d have to use the bookmark-service to create an actual bookmark, but this’ll fail due to security restrictions.

Cross-browser bookmark/add to favorites JavaScript [duplicate]

jQuery Version JavaScript (modified from a script I found on someone’s site – I just can’t find the site again, so I can’t give the person credit): $(document).ready(function() { $(“#bookmarkme”).click(function() { if (window.sidebar) { // Mozilla Firefox Bookmark window.sidebar.addPanel(location.href,document.title,””); } else if(window.external) { // IE Favorite window.external.AddFavorite(location.href,document.title); } else if(window.opera && window.print) { // Opera … Read more

How do I add an “Add to Favorites” button or link on my website?

jQuery Version $(function() { $(‘#bookmarkme’).click(function() { if (window.sidebar && window.sidebar.addPanel) { // Mozilla Firefox Bookmark window.sidebar.addPanel(document.title, window.location.href, ”); } else if (window.external && (‘AddFavorite’ in window.external)) { // IE Favorite window.external.AddFavorite(location.href, document.title); } else if (window.opera && window.print) { // Opera Hotlist this.title = document.title; return true; } else { // webkit – safari/chrome alert(‘Press … Read more