Welcome Guest Search | Active Topics | Sign In | Register

EO.WebControl JavaScript Paste Issue Options
KSystems
Posted: Friday, August 5, 2016 8:47:59 PM
Rank: Advanced Member
Groups: Member

Joined: 1/15/2015
Posts: 48
With previous EO.WebControl versions (and previous Chrome versions) Javascript based clipboard paste calls would work. Now they do not work, and not sure how we can force them to work in EO.WebControl. Can you tell us how?

Here is an example URL and Javascript snippet that you can load and run in EO.WebControl:
https://jsfiddle.net/ow1m6wta/

If you type some text in the TextArea, and then select/highlight it with your mouse, then you can click the copy button, and then click paste button it should paste the contents from your clipboard. But the paste doesn't work anymore. It worked in previous EO versions.

I believe Chrome recently included this as a security feature so Javascript can't snoop on your system's clipboard contents. Is there a way to disable this in EO.WebControl?

We have tried this:

options.AllowJavaScriptAccessClipboard = true;

...but still doesn't work. You can load the jsfiddle sample above in IE and it will ask for permissions to access clipboard, but nothing like that happens in Chrome or EO. How can we get this to work?

Your help is appreciated.

eo_support
Posted: Friday, August 12, 2016 2:29:16 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

Please download build 16.1.75 from our download page. This build added property BrowserOptions.AllowJavaScriptDOMPaste that must be set to true in order to allow paste.

Thanks!
KSystems
Posted: Friday, August 12, 2016 2:52:32 PM
Rank: Advanced Member
Groups: Member

Joined: 1/15/2015
Posts: 48
You guys are awesome! Thanks, works like a charm!
eo_support
Posted: Friday, August 12, 2016 2:58:49 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Great. Thanks for confirming that it works!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.