Disable Input Scroll on Coursesite Grade Page

Prevents mouse wheel scrolling from changing grade input values on Coursesite

Upphovsman
Leon Ron
Dagliga installationer
0
Totala installationer
0
Betyg
0 0 0
Version
1.1
Skapad
2025-10-14
Uppdaterad
2025-10-14
Size
3,43 KB
Licens
N/A
Gäller för

# Disable Input Scroll on Coursesite Grade Page

## Description

A Tampermonkey userscript that prevents accidental grade changes when scrolling over input fields on Lehigh University's Coursesite grading interface.

## The Problem

When entering grades on Coursesite (coursesite.lehigh.edu), scrolling your mouse wheel while hovering over grade input boxes causes the values to change unintentionally. This can lead to:
- Accidentally modifying student grades
- Frustration when trying to navigate the page
- Need to constantly double-check entered values

## The Solution

This script completely disables the scroll-to-change behavior on all input fields within the Coursesite grade pages, allowing you to:
- Scroll freely through your grade book without fear
- Navigate the page naturally with your mouse wheel
- Focus on entering grades accurately without interruptions

## Features

- ✅ **Targeted protection** - Only affects Coursesite grade pages
- ✅ **Multi-layered blocking** - Uses multiple event interception methods for reliability
- ✅ **Handles dynamic content** - Works with grade inputs loaded after page initialization
- ✅ **Lightweight** - No performance impact
- ✅ **Debug logging** - Console messages to verify it's working (optional)

## Installation

1. Install [Tampermonkey](https://www.tampermonkey.net/) browser extension
2. Click "Create a new script" in Tampermonkey
3. Copy and paste this script
4. Save (Ctrl+S or Cmd+S)
5. Navigate to your Coursesite grade page - it works automatically!

## Compatibility

- ✅ Chrome / Edge / Brave
- ✅ Firefox
- ✅ Safari (with Tampermonkey)
- ✅ Opera

## Usage

Simply install the script and visit any Coursesite grade page. The script runs automatically and requires no configuration. You'll notice that scrolling over input fields no longer changes their values.

## Privacy & Security

- This script runs entirely in your browser
- No data is collected or transmitted
- No external connections are made
- Open source - you can review the code yourself

## Support

If you encounter any issues or have suggestions, please leave a comment or report an issue.

## Version History

**v1.1** - Initial release
- Document-level event blocking
- Direct element listeners
- MutationObserver for dynamic content
- Support for both wheel and mousewheel events

## License

Free to use and modify. No attribution required.

---

*Made for Lehigh students and instructors tired of accidental grade changes!*