Using the script will prevent students from:
Printing using the File, Print command or the CTRL+P keyboard shortcut to print. The student will only get a blank page if they attempt it.
Selecting text to copy, and then using Edit, Copy to copy it to the Windows clipboard.
Right clicking to display a shortcut menu that includes the Copy and Print Commands.
Note: The instructor will not be able to print a copy of the quiz from WebCT either!
Instructions:
1. Open the Quiz Tool. Ensure that you are in Designer Mode.
2. Click the name of the quiz you want to protect.
3. In the Actions frame under Customize, click Edit/Add upper textblock.
4. Copy the script below beginning with <head> and ending with </script> [Highlight the script, press and hold the Ctrl key while pressing C].
5. Click inside the text box for the upper text block. When you see the cursor blinking, paste the script in the textbox [Press and hold the Ctrl key while pressing V].
6. Click the Update button at the bottom of the window to save the script.
<head>
<meta http-equiv="imagetoolbar" content="no">
</head>
<style media="print">body {display:none}</style>
<body ondragstart="return false" onselectstart="return false">
<script language=JavaScript>
<!--
var message="Function Disabled!";
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
</script>
<script language=JavaScript>
</script>
<script type="text/javascript">
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
</script>
Other suggestions for preventing copying quizzes:
Release one question at a time without allowing students to revisit a question.
Set a time limit on the quiz.
Make the quiz difficult to complete in the allowed time.
Use the question set feature to deliver a specified number of questions from a category that are randomized. For example, if a category or question set contains 50 questions, specify that the Quiz Tool selects 25 or 30 questions from that category. That way, each student will get a different quiz with different set of questions.
Limit the quiz to one attempt. If a student opens the quiz, closes it (doesn't click Finish) and then returns to it later, you can check to see when the student opened the quiz and when that student began saving answers.
Ensure that you have other assessment criteria to evaluate a student's performance.
© Susan Bellomo, 2006-2007. All
rights reserved.
E-mail:
Campus e-mail: