You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Originally posted by kunFoo:
is there any way to implement the 'clipboardData.setData' function available for Internet Explorer?
Not by default, you can use a flash object (for example zeroclipboard) to emulate the behaviour but there is no direct javascript to clipboard access.
Thanks
-Rob
In 12.50 build description the following is announced.
Originally posted by "Opera Desktop Team":
Clipboard API exposes the following new events: copy, cut, and paste; for text/plain and text/html content.
Unfortunaltey, in the error console I still get the following error:
Cannot convert 'window.clipboardData' to object
When invoking:
window.clipboardData.setData("Text",myText); Any clue?
Originally posted by peroo:
window.clipboardData is part of Internet Explorer's old clipboard API, and not supported by Opera. Opera's implementation is based on the new W3C Clipboard API, and is quite different.
Is there any example available? Reading the standard I'm not able to find the equivalent Opera method to Explorer's window.clipboardData
Thanks
Originally posted by kunFoo:
Ok peroo
![]()
Originally posted by peroo:
window.clipboardData is part of Internet Explorer's old clipboard API, and not supported by Opera. Opera's implementation is based on the new W3C Clipboard API, and is quite different.
Is there any example available? Reading the standard I'm not able to find the equivalent Opera method to Explorer's window.clipboardData
Thanks![]()
I've been unable to find any examples, but after reading the spec closer it seems it's not possible to use the API to interact directly with the system clipboard. The API can only be used to intercept and transform user-initiated copy/cut/paste events.
If you need any help from me with regards to Opera, please make a comment on any of my blog posts.
Support Opera wishes
Forums » Dev.Opera » Opera Extensions Development Discussions