Here'll I explain everything
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
X-Feed-Cleaner is a lightweight Google Chrome extension designed to provide a clean and distraction-free experience on X.com (formerly Twitter). It allows users to hide unwanted elements like the home feed, trends, premium subscriptions, and "Live on X" sections, enhancing focus and reducing distractions.
Table of Contents
X-Feed-Cleaner is a Google Chrome extension that helps users customize their experience on X.com by hiding distracting or irrelevant sections from their view. Whether you're browsing your feed, viewing trends, or checking live updates, this extension ensures that you only see the content that matters to you.
- Hide the main feed (Home Timeline)
- Remove "Subscribe to Premium" advertisements
- Disable the "Live on X" section
- Eliminate "Trends for you" from the sidebar
- Dynamic observation to ensure elements remain hidden even when the page updates
Follow these steps to install the X-Feed-Cleaner extension in Google Chrome:
- Download the extension:
- Clone the repository or download the ZIP file and extract it.
git clone https://github.com/olivierluethy/X-Feed-Cleaner.git
- Open Chrome Extensions: Navigate to chrome://extensions/ in your Chrome browser.
- Enable Developer Mode: In the top right corner of the extensions page, toggle on "Developer mode."
- Load Unpacked Extension: Click on "Load unpacked" and select the folder where you downloaded/extracted the extension.
- Activate the Extension: Once loaded, ensure the extension is active and ready to clean your X.com feed.
Once installed, X-Feed-Cleaner runs automatically when you visit X.com. The extension dynamically hides the following elements:
Element | Path Condition | Action Taken |
---|---|---|
Home Feed (Timeline) | /home |
Hidden |
Subscribe to Premium Section | /home |
Hidden |
Live on X Section | Any page | Hidden |
Trends for You | Any page | Hidden |
- The extension checks the page path to determine which elements to hide.
- It utilizes DOM selectors to identify and hide sections based on their
aria-label
,data-testid
, and other attributes. - A
MutationObserver
is implemented to monitor dynamic changes and hide newly loaded elements in real-time.
- Navigate to
chrome://extensions/
. - Locate X-Feed-Cleaner and toggle it off.
If you are interested in contributing to the development of X-Feed-Cleaner, follow these steps:
- Ensure you have Node.js and npm installed.
- Install Chrome Extensions APIs if you're building advanced features.
-
Clone the repository:
git clone https://github.com/olivierluethy/X-Feed-Cleaner.git
-
Open the project in your preferred code editor.
-
Modify the
content.js
file to add or adjust the hiding behavior for specific elements on X.com. -
Load the unpacked extension (as detailed in the Installation section).
-
Test the extension on X.com to ensure your changes are working as intended.
License
X-Feed-Cleaner is licensed under the permissive MIT License. This license grants you the freedom to use, modify, and distribute the software for any purpose, commercial or non-commercial.
Contributing
We encourage contributions to improve X-Feed-Cleaner! Here's how to get involved:
- Fork the repository: Create your own copy of the project on GitHub.
- Create a branch: This isolates your changes from the main project code.
git checkout -b main
- Make your changes: Implement your feature or fix the bug.
- Commit your changes: Use a clear commit message describing your work.
git commit -m "Add feature: Description of your feature"
- Push your branch: Share your changes with the project.
git push origin main
- Open a Pull Request: This lets the maintainers review your contribution.
Remember to:
- Follow the project's coding style for consistency.
- Write unit tests to ensure your changes don't break existing functionality.
Getting Help
If you encounter issues or have questions, feel free to:
- Open a new issue on the GitHub repository.
- Reach out to the project maintainers directly.
Changelog
v1.0.0 (Initial Release)
- This is the first official release of X-Feed-Cleaner.
- Key features include:
- Hiding the main feed (Home Timeline)
- Removing "Subscribe to Premium" ads
- Disabling "Live on X" notifications
- Eliminating "Trends for you"
Improvements
- The license information is concise and informative.
- The contributing section guides users with clear steps and best practices.
- The getting help section provides multiple options for users to reach support.
- The changelog follows a clear format with version number and key features.
- Table of Contents: Provides a structured overview for easy navigation.
- Installation: Step-by-step guide for installing the Chrome extension.
- Features: Lists the primary features with a table detailing what elements are hidden.
- Development: Instructions for developers to contribute or modify the code.
- License: MIT License for open-source usage.
- Contributing: Guidelines for contributors, including git commands.
- Support and Changelog: Information for user support and version tracking.
- Die Map wurde mittels mapbox.com erstellt. https://api.mapbox.com/styles/v1/mapbox/dark-v11.html?title=true&access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4M29iazA2Z2gycXA4N2pmbDZmangifQ.-g_vE53SD2WrJ6tFX7QHmA#9.79/47.0252/8.3531
- Wurde als URL Redirect Icon genutzt https://images.app.goo.gl/i1kKj5UBJLrdfEHC9
- Hat zum Thank You Part beim Update dazu beigetragen https://images.app.goo.gl/XrtuwbS3wkdPUDgX6
- Wurde für das Bild bei Thank You Part beim Update dazu beigetragen https://www.shutterstock.com/image-photo/happy-man-standing-sunrise-lifting-260nw-2079258889.jpg
- Um dem Bild die genaue Grösse zu geben und herunterzuladen https://imageresizer.com/
- HTML und CSS Template das für Update und Installation genutzt wurde https://www.free-css.com/free-css-templates/page288/global