Bookmarklet support in Mobile Safari

Originator:scottjacksonx
Number:rdar://10525959 Date Originated:05-Dec-2011 05:42 PM
Status:Duplicate Resolved:
Product:iPhone Product Version:5.0
Classification:Feature (new) Reproducible:n/a
 
Summary: 

There should be a user-friendly way for iPhone Apps and/or iPhone Web Apps to prompt users to install bookmarklets.

Proposed Solution:

- Have a way for web apps, iPhone SDK apps, or both to invoke a dialog that prompts the user to install a bookmark with a specified title and URL into their Mobile Safari bookmark list.

Possible Means:

- Users should be able to add a bookmarklet from iPhone Safari by tapping and holding on a bookmarklet link, that is, a web page anchor whose location begins with "javascript:", or 
- a WebKit-specific JavaScript call, or 
- via the iPhone SDK.  

Current Alternative:

- Gnarly instructions such as "paste this odd-looking string into a bookmark you just created's location field" must be given to the user instead, such as those used for Marco Arment's Instapaper.


Notes:
This is a dupe of rdar://6589436, rdar://5935641, and rdar://7636942

Thanks!

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!