Preventing Copy-Paste in LearningSpace

What is Tampermonkey?

To address potential cheating during exams, a solution involves installing a browser extension called Tampermonkey on each computer station. Once Tampermonkey is installed, a custom Tampermonkey script will be provided that disables students' ability to copy and paste content from the pre-encounter session.

What the Script Does:

  • Disables Right-Click: Prevents students from accessing the context menu.

  • Prevents Text Selection: Stops users from selecting text to copy.

  • Blocks Copy-Paste Shortcuts: Disables keyboard shortcuts like Ctrl+C, Ctrl+X, and Ctrl+V.

By following the steps in this guide, you will be able to install the necessary add-on, configure the script, and ensure that learners cannot copy and paste pre-encounter content into external documents.

It should take no more than 5 minutes per station to set it up.

Steps to Prevent Copy-Paste

1️⃣ Install Tampermonkey Extension

Tampermonkey is a browser extension that will run a custom script to prevent copy-pasting on the system. Please follow these steps to install it on each computer station’s browser:

2️⃣ Add the Script to Tampermonkey

Once Tampermonkey is installed, follow these steps to add the custom script:

  • Click on the Tampermonkey icon in your browser’s extension bar.

  • Click on Create a New Script.

    Delete any default code in the editor and paste the script provided in the attachment.

    copy-paste-disable.js

  • Click File > Save to save the script.

3️⃣ Restart the Browser

After adding the script, please restart the browser to ensure the script is properly activated.

4️⃣ Testing the Script

After the installation is complete, you can test the system by attempting to copy-paste any text from LearningSpace. If the script is working properly, users should no longer be able to copy, cut, or paste any content from the page on the given station.