Skip to content

khshourov/plugin-hide-recent-subreddits

Repository files navigation


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

Plugin enabled

(back to top)

Built With

(back to top)

Usage

Go to Firefox addons 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 and web-ext.

(back to top)

License

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

(back to top)

Contact

Kamrul H. Shourov - shourov.kamrul@gmail.com

Project Link: https://github.com/khshourov/plugin-hide-recent-subreddits

(back to top)

Acknowledgments

(back to top)