<pre id="test">
<script type="application/javascript">
ok(!document.queryCommandSupported("paste"), "Paste isn't supported in non-privilged JavaScript");
ok(document.queryCommandSupported("copy"), "Copy is supported in non-privilged JavaScript");
ok(document.queryCommandSupported("cut"), "Cut is supported in non-privilged JavaScript");
ok(SpecialPowers.wrap(document).queryCommandSupported("paste"), "Paste is supported in privilged JavaScript");
ok(SpecialPowers.wrap(document).queryCommandSupported("copy"), "Copy is supported in privilged JavaScript");
ok(SpecialPowers.wrap(document).queryCommandSupported("cut"), "Cut is supported in privilged JavaScript");
</script>
</pre>
</body>
</html>
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.