[SOVLED] clipoboard not working in all browser wisej 2.1.43.0

0
0

Hi,

firefox don’t work

microsoft edge don’t work

chrome work

internet explorer work

Wisej.Web.Clipboard.SetClientText(“pippo”)
Eval(“Wisej.Core.copy();”)

regards

  • You must to post comments
0
0

Yes Luca, I have the same warning message in the console. My work around is this:

I create a cookie, then I use javascript to copy the cookies content to clipboard

bye

Cristian Zerbinati

  • You must to post comments
0
0

Firefox is blocking the command. Push F12 and you will see the warning “document.execCommand(‘cut’/‘copy’) was denied because it was not called from inside a short running user-generated event handler.”

That’s what I was referring to at the beginning. Some browsers (some versions) may allow it some others may not. The only way to make sure it works is to do it from a client event. There is not way around it in any web system.

Attachment
  • You must to post comments
0
0

Hi Luca,

video of your sample

https://screencast-o-matic.com/watch/cYeXjUx3fe

don’t work in firefox, only chrome and internet explorer

regards

  • You must to post comments
0
0

Cannot reproduce. Sample attached.

 

Attachment
  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.