Skip to content

omridan159/Dopamine-Detox-Twitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Dopamine Detox Twitter

A Chrome extension designed to help reduce social media addiction by removing the notifications button from X.com (formerly Twitter). Part of your digital wellness toolkit for a healthier relationship with social media.

Purpose

In today's hyperconnected world, social media notifications are engineered to trigger dopamine releases in our brains, leading to addictive behavior patterns. This extension helps break that cycle by removing the notifications button, allowing you to:

  • Check Twitter on your own terms
  • Reduce anxiety from constant notifications
  • Maintain better focus during work hours
  • Practice digital minimalism

Features

  • Automatically removes the notifications button from X.com and Twitter.com
  • Works immediately upon page load
  • Continues to work with dynamic content updates
  • Lightweight and efficient
  • Zero configuration needed

Installation

Manual Installation (Developer Mode)

  1. Download or clone this repository
  2. Open Chrome and navigate to chrome://extensions/
  3. Enable "Developer mode" using the toggle in the top-right corner
  4. Click "Load unpacked"
  5. Select the directory containing the extension files

How It Works

The extension uses a content script that:

  • Targets the notifications button using its data-testid attribute
  • Removes the button from the page
  • Uses a MutationObserver to handle dynamically loaded content
  • Works on both x.com and twitter.com domains

Files

  • manifest.json: Contains extension configuration and permissions
  • content.js: Contains the logic for removing the notifications button
  • README.md: Documentation file (this file)

Benefits of Dopamine Detox

Taking control of your social media usage can lead to:

  • Improved focus and productivity
  • Better mental health
  • Reduced anxiety
  • More mindful social media usage
  • Enhanced real-world connections

Privacy & Security

This extension:

  • Does not collect any user data
  • Does not use any external services
  • Only accesses the page to remove the notifications button
  • Requires minimal permissions
  • No tracking or analytics

Development

To modify this extension:

  1. Clone the repository
  2. Make your changes to the source files
  3. Test the extension locally using Chrome's developer mode
  4. Create a pull request if you'd like to contribute

Support

For issues or feature requests, please open an issue on GitHub.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published