Read content of clipboard

Hi,
Can JavaScript read the content of clipboard?

Thanks.

Comments

  • : Hi,
    : Can JavaScript read the content of clipboard?
    :
    : Thanks.
    :
    No, perhaps if you use some ActiveX object for it.
  • : : Hi,
    : : Can JavaScript read the content of clipboard?
    : :
    : : Thanks.
    : :
    : No, perhaps if you use some ActiveX object for it.
    :

    actually, im pretty sure it can. use [b]window.clipboardData.getData()[/b] and [b]window.clipboardData.getData('Text')[/b]
  • : : : Hi,
    : : : Can JavaScript read the content of clipboard?
    : : :
    : : : Thanks.
    : : :
    : : No, perhaps if you use some ActiveX object for it.
    : :
    :
    : actually, im pretty sure it can. use [b]window.clipboardData.getData()[/b] and [b]window.clipboardData.getData('Text')[/b]
    :

    here you go:

    [code]

    [/code]

    that will show you whatever's in the clipboard.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories