src/cm/media/js/lib/flexible-js-formatting/clip.js
author rbernard
Fri, 12 Feb 2010 21:58:53 +0100
changeset 172 9a355903350d
parent 0 40c8f766c9b8
permissions -rw-r--r--
renaming variables
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     1
if (window.clipboardData) {
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     2
    c = window.clipboardData.getData("Text");
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     3
    if (c) {
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     4
        document.write("<p>The contents of your clipboard:</p>");
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     5
        document.write("<blockquote>" + c + "</blockquote>");
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     6
    }
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     7
}