- Forums
- Snippets
- The Clipboard Is Temporarily Disabled. To Restore Normal Function, Simply
This Page Contains information about The Clipboard Is Temporarily Disabled. To Restore Normal Function, Simply By juan in category Snippets with 4 Replies. [1369], Last Updated: Sat May 18, 2024
juan
Mon Sep 11, 2006
4 Comments
3423 Visits
[The clipboard is temporarily disabled. To restore normal function, simply close the web browser currently viewing a full size image at wallpaperama.com]
you can generate this error with the following snippet:
CODE:
<script language="JavaScript" type="text/JavaScript">
window.setInterval("window.clipboardData.setData('Text','[The clipboard is temporarily disabled. To restore normal function, simply close the web browser currently viewing a full size image at {site_name}]')",20);
</script>
According to
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/clipboarddata.asp the following code is supposed to clear the clipboard of any image data. This allows the user to retain the ability to copy and paste text, URL, file and HTML data.
CODE:
window.setInterval('window.clipboardData.clearData("Image")',20);