As an avid LeetCode enthusiast, I understand how the difficulty tags can sometimes discourage problem-solving. To address this, I've developed a Chrome extension that masks these tags, encouraging users to tackle problems without bias.
- ๐ Replaces "Easy," "Medium," and "Hard" difficulty tags with "๐ค" on LeetCode.
- ๐ Dynamically processes new content as it loads on the page.
- ๐ Lightweight and straightforward to install.
The extension employs a content script to identify and modify the text content of elements on the LeetCode page. It monitors changes in the DOM to ensure all newly loaded content is processed.
- JavaScript: The core language for the extension.
- Chrome Extensions API: The framework used to develop the extension.
- HTML: Utilized in the extension's manifest file.
Follow these steps to install the LeetCode Difficulty Masker extension:
- Download the Extension: Clone or download this repository to your local machine.
- Unzip the Download: Unzip the downloaded repository to a folder.
- Open Chrome Extensions: Navigate to
chrome://extensions/
in Chrome. - Enable Developer Mode: Toggle the "Developer mode" switch in the top right corner.
- Load Unpacked: Click "Load unpacked" and select the directory where you unzipped the repository.
- Extension Installed: The LeetCode Difficulty Masker should now appear in your list of Chrome extensions.
Once installed, the extension will automatically mask the difficulty tags on LeetCode pages. Just browse LeetCode as usual and focus on solving problems without being influenced by their difficulty tags.