Thanks for the reply Rob. So I wonder if anyone out there has found a way or has some code to show how to do it?
On Sep 2, 8:18 pm, RobG <[email protected]> wrote: > On Sep 2, 8:01 am, Shawn <[email protected]> wrote: > > > Hello, > > > Does anyone know if it is possible to programmatically copy and paste > > from a web page in iphone Safari? I created a website that allows > > copy and paste automation when viewing it from internet explorer, > > however, it doesn't seem to work on iphone Safari. For example, the > > code to allow clipboard access via a web page on internet explorer is > > as follows below: Does anyone know a way to modify it so that it will > > work in iphone Safari with the 3gs? Ultimately, I would like to > > create a bookmarklet that navigates to a page and pastes the clipboard > > that I have already copied from mail into a form text area box to save > > some steps and time. > > The default setting for most browsers (including IE 8 and Firefox) is > to deny access to the clipboard for personal data security reasons. > > Apple's WebKit-based applications provide cut, copy and paste events > [1], you may be able to programmatically trigger them using > dispatchEvent[2] but I doubt it, likely only the user can initiate > them. > > 1. > <URL:http://developer.apple.com/mac/library/documentation/AppleApplication... > > > > 2. > <URL:http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-EventTarge... > > > > -- > Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
