Forum Moderators: open

Message Too Old, No Replies

question about the confirm box of execCommand

ie show it up, how to ignore it by script?

         

Xuefer

3:54 am on Jan 12, 2003 (gmt 0)

10+ Year Member



for IE:
there's an option to turn confirm on when script try to access clipboardData/execCommand pate/copy/cut
even i use "try {} catch(e){}", it's shown up

i'm going to access clipbard frequently, and preferer to "text.value+=''" when clipboard is not accessable

so anyway to skip the confirm box?

tedster

8:44 pm on Jan 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I assume that you are writing for an intranet or some other kind of captive audience, such as an app on a CD. These functions are part of Microsoft's efforts to make Explorer a full-blown application platform, and more than "just a browser".

I don't do this kind of work, but in my research I couldn't find any way to bypass the confirm dialog.

Xuefer

3:19 am on Jan 13, 2003 (gmt 0)

10+ Year Member



but anyways to detect the setting? then i can avoid call it if it's ON
i'm writing editor