# ◾ Preventing Copy-Paste During Exams

![](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/03fa1014-cf0e-4191-ba80-50d24eef65d4/fda48651-5f8e-4f59-b3a8-7358014d4cb8/tampermonkey.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20260909%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260909T151500Z&X-Amz-Expires=86400&X-Amz-Signature=6ce12f470f61a7e27a4bdd1f601619a487b29ccf90c81e8c444fbe3e1a3bcd22&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject "right-50 =385x160")To address potential cheating during exams, a solution is provided that involves installing a browser extension called [**Tampermonkey**](https://www.tampermonkey.net/) 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. 



:::info
***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`*.*

:::


:::tip
See a step-by-step guide for installing Tampermonkey [**here**](https://kb.learningspace.elevatehealth.net/s/ent-hs/doc/preventing-copy-paste-in-learningspace-sPD0IIUuk0)**.**

:::

## **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:

* **Google Chrome:**  
  [Install Tampermonkey for Chrome](https://chromewebstore.google.com/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo "https://chromewebstore.google.com/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo")
* **Mozilla Firefox:**  
  [Install Tampermonkey for Firefox](https://addons.mozilla.org/en-US/firefox/addon/tampermonkey/ "https://addons.mozilla.org/en-US/firefox/addon/tampermonkey/")
* **Microsoft Edge:**  
  [Install Tampermonkey for Edge](https://microsoftedge.microsoft.com/addons/detail/tampermonkey "https://microsoftedge.microsoft.com/addons/detail/tampermonkey")

### **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 806](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/03fa1014-cf0e-4191-ba80-50d24eef65d4/9e6465c2-d513-4dc7-b924-a0a026351541/copy-paste-disable.js?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20260909%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260909T151500Z&X-Amz-Expires=86400&X-Amz-Signature=77577ad4230210c42cdc54525273c37109d20def4a0290b1adff36f079c8de80&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)

  
* 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.

---

**Documents**

- [User Guide](https://kb.learningspace.elevatehealth.net/s/ess-hs/doc/user-guide-QPZfKJ0BV1)
- [FAQ](https://kb.learningspace.elevatehealth.net/s/ess-hs/doc/faq-AZnS7tDFgM)
- [Release Notes](https://kb.learningspace.elevatehealth.net/s/ess-hs/doc/release-notes-fqaGSPScxH)
- [iPad support - Technical information](https://kb.learningspace.elevatehealth.net/s/ess-hs/doc/ipad-support-technical-information-iHec00YAzm)
- [Customer Aftercare One-Pager](https://kb.learningspace.elevatehealth.net/s/ess-hs/doc/customer-aftercare-one-pager-GOIZYTEgud)
- [Preventing Copy-Paste in LearningSpace](https://kb.learningspace.elevatehealth.net/s/ess-hs/doc/preventing-copy-paste-in-learningspace-uEubHwXVD2)