Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/khshourov/plugin-hide-recent-subreddits
Hide recent subreddit pages
https://github.com/khshourov/plugin-hide-recent-subreddits
firefox-extension reddit
Last synced: 6 days ago
JSON representation
Hide recent subreddit pages
- Host: GitHub
- URL: https://github.com/khshourov/plugin-hide-recent-subreddits
- Owner: khshourov
- License: mit
- Created: 2024-10-16T10:17:16.000Z (30 days ago)
- Default Branch: main
- Last Pushed: 2024-11-05T08:54:36.000Z (10 days ago)
- Last Synced: 2024-11-05T09:27:50.540Z (10 days ago)
- Topics: firefox-extension, reddit
- Language: JavaScript
- Homepage:
- Size: 240 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
README
Plugin - Hide recent subreddits
Hide the 'Recent Subreddits' section to avoid potential embarrassment in case you accidentally visit any NSFW subreddits!
## About The Project
When you visit a subreddit, a “Recent” section is added to the left sidebar, displaying all your recently visited subreddits. While this feature can be convenient, it might be less desirable if you’ve visited NSFW subreddits. Unfortunately, I couldn’t find an option to remove this section through the site’s settings. Instead, I had to go into the site’s local storage and delete the key “recent-subreddits-store.” It’s not a huge hassle, but I prefer not having any history on my homepage.
With this simple plugin, you can easily toggle the visibility of your recent subreddits. Once installed, a Reddit icon will appear in your browser’s URL bar. Clicking this icon allows you to switch between hiding and viewing the “Recent” section. By default, the section will be hidden.
![Plugin disabled](docs/images/disabled.png)
![Plugin enabled](docs/images/enabled.png)
### Built With
* [Browser extensions - Mozilla | MDN](Firefox-extensions-url)
## Usage
Go to [Firefox addons store](https://addons.mozilla.org/en-US/firefox/addon/hide-recent-subreddits-store/) and click the "Add to Firefox" button.
## Roadmap
- [ ] Develop it as a cross-browser extension
## Set up development environment
To test the plugin, you have two options:
1. In the Firefox URL bar, type about:debugging, click on “This Firefox,” then select “Load Temporary Add-on…” and choose any file from the plugin directory.
2. Use the web-ext command-line tool, which opens a separate Firefox window for testing. It automatically reloads when file changes occur and can also be used for building and publishing the plugin.Learn more about these approaches in [about:debugging](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_first_WebExtension#installing) and [web-ext](https://extensionworkshop.com/documentation/develop/getting-started-with-web-ext/).
## License
Distributed under the MIT License. See `LICENSE.txt` for more information.
## Contact
Kamrul H. Shourov - [email protected]
Project Link: [https://github.com/khshourov/plugin-hide-recent-subreddits](https://github.com/khshourov/plugin-hide-recent-subreddits)
## Acknowledgments
* [Reddit icons created by Freepik - Flaticon](https://www.flaticon.com/free-icons/reddit)
* [Reddit icons created by riajulislam - Flaticon](https://www.flaticon.com/free-icons/reddit)[product-screenshot]: images/screenshot.png
[Firefox-extensions-url]: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions