Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/niklashenning/leetblock

Browser extension that allows you to block users on the Leetcode website
https://github.com/niklashenning/leetblock

block brave-extension chrome chrome-extension chrome-store edge-extension extension leetblock leetcode opera-extension

Last synced: 23 days ago
JSON representation

Browser extension that allows you to block users on the Leetcode website

Awesome Lists containing this project

README

        



Leetblock - Block Leetcode Users

[![Version](https://img.shields.io/badge/version-v1.0.0-blue)](https://chromewebstore.google.com/detail/leetblock-block-leetcode/dopkcagmapfpgabhpnbdonlejcidmpel)
[![Build](https://img.shields.io/badge/build-passing-neon)](https://github.com/niklashenning/leetcode-block-users)
[![License](https://img.shields.io/badge/license-MIT-green)](https://github.com/niklashenning/leetcode-block-users/blob/master/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](https://chromewebstore.google.com/detail/leetblock-block-leetcode/dopkcagmapfpgabhpnbdonlejcidmpel) 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
https://github.com/user-attachments/assets/122c8c0c-07aa-4d5d-b623-38ec27cc7bb2

## License
This software is licensed under the [MIT license](LICENSE).