8000 GitHub - tgeant/9GAG-Tag-Blocker: A plugin to block 9GAG articles by tag.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tgeant/9GAG-Tag-Blocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

9GAG Tag Blocker Firefox Plugin

This Firefox plugin is designed specifically for 9GAG and allows users to block articles based on specific tags. By clicking the "Block" button next to an article's tag on 9GAG, the plugin will hide all articles containing that tag. A section with the list of blocked tags is also provided, giving the user the ability to unblock tags as needed.

Features

  • Block Articles by Tags on 9GAG: Hide articles containing specific tags of your choice.
  • Persistent Blocking: Blocked tags are saved in the browser's local storage, ensuring that the tags remain blocked across browser sessions.
  • Dynamic Filtering: Uses MutationObserver to detect changes in the 9GAG DOM and filter articles accordingly.
  • Manage Blocked Tags on 9GAG: A section is provided that displays all blocked tags with an option to unblock them.

Installation and Activation

  1. Download the Plugin from Firefox Add-ons:

    • Visit the official plugin page on Firefox Add-ons.
    • Click on the "Add to Firefox" button to install the plugin.
  2. Granting Permissions via Popup:

    • Once the plugin is installed, click on its icon in the browser's toolbar.
    • A popup will appear, asking you to grant permissions for the plugin to modify 9GAG content.
    • Click the "Grant" button within the popup to provide the necessary permissions.
    • Once permissions are granted, the popup message will update to indicate that the permissions have already been granted.

How to Use

  1. Block a Tag on 9GAG:

    • Navigate to any article with tags on 9GAG.
    • Next to each tag, you will see a "Block" button. Clicking this button will hide all articles containing this tag and add the tag to the blocked tags list.
  2. View Blocked Tags on 9GAG:

    • A section titled "Blocked Tag" will be displayed on the 9GAG page (in the left-hand menu). This section lists all the tags you've chosen to block.
  3. Unblock a Tag on 9GAG:

    • Navigate to the "Blocked Tag" section on 9GAG.
    • Next to each blocked tag, you will see an "Unblock" button. Clicking this will unblock the tag, and articles containing this tag will be shown again.

Notes

  • The plugin filters articles on 9GAG based on their tags. Therefore, it requires the 9GAG website to have articles with tags in order to function effectively.
  • Changes made to the blocked tags list are persistent and will remain even after closing the browser, thanks to the use of local storage.

Troubleshooting

  • Plugin doesn't seem to be working: Make sure the necessary permissions have been granted. If unsure, click the plugin icon to access the popup and verify permissions.
  • Blocked tags are not saved: Ensure that your browser allows websites to store data in local storage.
  • Tags are not being blocked on 9GAG: Ensure that the 9GAG website's structure hasn't changed, as the plugin relies on specific HTML elements and classes to function.

About

A plugin to block 9GAG articles by tag.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0