Skip to content

niklashenning/leetblock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Leetblock - Block Leetcode Users

Version Build License

Easily block users on Leetcode so they will never show up in comments or replies again.
Get rid of bots, spammers, self-advertisers, and people posting solutions in the discussion section.

Install Leetblock »

Installation

Chrome Web Store

You can install the extension through the Chrome Web Store on browsers such as Google Chrome, Microsoft Edge, Opera, and Brave. Simply follow this link and click on the "Add to Chrome" or "Get" button, depending on your browser.

Installing locally

Alternatively, you can install the extension locally by following these steps:

  1. Clone the repository

    git clone https://github.com/niklashenning/leetblock.git
    
  2. Open your browser's extension manager

    chrome://extensions/, edge://extensions/, ...

  3. Enable developer mode to be able to load unpacked extensions

  4. Click the "Load unpacked" button and select the "src" folder of the cloned repository, which will load and enable the extension

Usage

Blocking users in discussions

After enabling the extension, "Block" buttons will appear on every comment and reply. Clicking it will add that user to the block list and hide all of their posts as long as you keep them blocked.

Blocking users manually

If you want to manually block a user by username, click on the extension icon to open the popup, enter the username into the text field, and click the "Block User" button.

Unblocking users

To unblock a user, simply open the extension popup, locate the username in the list, and click the "Unblock" button next to it.

Unblocking all blocked users

To unblock every user, open the extension popup and click the "Unblock All" button. After confirming your decision, your block list will be cleared, and all posts will be visible again.

Demo

leetblock-demo.mp4

License

This software is licensed under the MIT license.