It occured to me that Apple already supports client-side databases in Safari, and that Google Translate puts this feature to good use. For instance, put a few translations through Google Translate for the iPhone, and then go to your "Settings" for Safari. You'll see Google has created a database capable of holding up to 5MB of data.
The only limitation to using this is presumeably a "domain" restriction, like the one used with "cookies" in Javascript. If however, the domain is the localhost/nothing (or the client's machine itself, however referenced), theoretically all apps could create a temporary HTML page, and run some Javascript to get access to a common database. This not only opens the door to a CLIPBOARD, but to a MULTI-CLIPBOARD (if one wanted, although I HATE multi-clipboard systems with a vengeance).
The reason why this seems very doable, is that there is already a "bookmarklet" that allows Safari to have a "clipboard" feature, simply by running the bookmark. That someone is able to post clippings of text between different websites speaks to there being NO security restriction in this area.
Without looking into the OpenClip code, I'd imagine its based off of this concept, or something potentially similar. In anycase, good job. Someone's been thinkin'.
~ CB
The only limitation to using this is presumeably a "domain" restriction, like the one used with "cookies" in Javascript. If however, the domain is the localhost/nothing (or the client's machine itself, however referenced), theoretically all apps could create a temporary HTML page, and run some Javascript to get access to a common database. This not only opens the door to a CLIPBOARD, but to a MULTI-CLIPBOARD (if one wanted, although I HATE multi-clipboard systems with a vengeance).
The reason why this seems very doable, is that there is already a "bookmarklet" that allows Safari to have a "clipboard" feature, simply by running the bookmark. That someone is able to post clippings of text between different websites speaks to there being NO security restriction in this area.
Without looking into the OpenClip code, I'd imagine its based off of this concept, or something potentially similar. In anycase, good job. Someone's been thinkin'.
~ CB