This Chrome extension modifies the user interface of x.com (formerly Twitter) to provide a more focused browsing experience. It automatically selects the "Following" tab, removes several UI elements, and observes DOM changes to maintain these modifications.
- Automatically selects the "Following" tab
- Removes the "For you" tab
- Removes the "Trending now" sidebar
- Removes the "Who to follow" sidebar
- Removes the Explore button
- Removes the Community Notes link
- Removes the Ads link
- Removes the Verified Orgs Signup link
The extension uses a content script (content.js
) that performs the following actions:
-
Defines a
modifyPage()
function that:- Selects the "Following" tab and removes the "For you" tab
- Removes various sidebar elements and links
-
Sets up a MutationObserver to watch for changes in the DOM and re-applies the modifications when changes occur.
-
Runs the
modifyPage()
function initially and then continuously observes the DOM for changes.
- Clone this repository or download the source code.
- Open Google Chrome and navigate to
chrome://extensions
. - Enable "Developer mode" in the top right corner.
- Click "Load unpacked" and select the directory containing the extension files.
Once installed, the extension will automatically modify the x.com interface whenever you visit the site. No additional action is required.
You can modify the content.js
file to add or remove modifications as needed. After making changes, make sure to reload the extension in the Chrome extensions page.
This extension significantly alters the user interface of x.com. While it provides a more focused experience, it also removes functionality that some users may depend on. Use at your own discretion.
Contributions are welcome! Please feel free to submit a Pull Request.
Fuck For You is released under the MIT License.
If you encounter any issues or have questions, please open an issue in this repository.
Note: Websites can change their structure at any time. If x.com updates its DOM structure, this extension may need to be updated to continue functioning correctly.