Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        





Logo

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)

(back to top)

### Built With

* [Browser extensions - Mozilla | MDN](Firefox-extensions-url)

(back to top)

## 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.

(back to top)

## Roadmap

- [ ] Develop it as a cross-browser extension

(back to top)

## 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/).

(back to top)

## License

Distributed under the MIT License. See `LICENSE.txt` for more information.

(back to top)

## Contact

Kamrul H. Shourov - [email protected]

Project Link: [https://github.com/khshourov/plugin-hide-recent-subreddits](https://github.com/khshourov/plugin-hide-recent-subreddits)

(back to top)

## 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)

(back to top)

[product-screenshot]: images/screenshot.png
[Firefox-extensions-url]: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions