Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jh3y/focussed-twitter
Let's focus on the tweets! 🐦
https://github.com/jh3y/focussed-twitter
chrome-extension css-variables firefox-extension hacktoberfest hacktoberfest2020 javascript twitter
Last synced: 2 months ago
JSON representation
Let's focus on the tweets! 🐦
- Host: GitHub
- URL: https://github.com/jh3y/focussed-twitter
- Owner: jh3y
- License: mit
- Created: 2019-07-26T20:14:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-18T14:01:34.000Z (7 months ago)
- Last Synced: 2024-10-12T23:45:43.745Z (3 months ago)
- Topics: chrome-extension, css-variables, firefox-extension, hacktoberfest, hacktoberfest2020, javascript, twitter
- Language: JavaScript
- Homepage: https://chrome.google.com/webstore/detail/focussed-twitter/efldegaojlekkkoegoeakkgknaagjeoj
- Size: 4.57 MB
- Stars: 17
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
![focussed twitter logo](src/focussed-twitter/icons/focussed_twitter_48.png)
# Focussed Twitter 🐦![potential](src/screenshots/showing-sides.png)
A browser extension for reducing the noise on Twitter 🙌
_Works in Firefox and Chromium_- [Chrome Extension](https://chrome.google.com/webstore/detail/focussed-twitter/efldegaojlekkkoegoeakkgknaagjeoj)
- [Firefox Add-On](https://addons.mozilla.org/en-US/firefox/addon/focussed-twitter/)## Motivation
With the new Twitter layout hitting our screens, some weren't too happy about the "noise".FWIW, I don't mind the new layout. I've almost forgotten how the old one looked now 😂
However, the new one is a little noisy when scrolling.Enter "Focussed Twitter"!
What started as a bookmarklet is now a browser extension!
![dimming noise](src/screenshots/dimming.png)
## Principles + Concept
The idea for "Focussed Twitter" is to make it easier to focus on the tweets.The original idea for better UX was that if I scrolled Twitter, I wanted everything else to fade away for a moment.
No need to remove elements or break the behavior/layout 👍
Everything that "Focussed Twitter" does can be switched off or configured to your liking in the extension options 💪
![focussed](src/screenshots/focussed.png)
## Features
- Dim sides on scroll
- Set the dim
- Hide the sidebar
- Hide separators
- Remove tweet borders
- Increase the margin between tweets
- Permanently dim sides
- Focussed composing
- Hide metric counts
- Hide DMs drawer![composition](src/screenshots/composing.png)
## How does it work
`Focussed Twitter' is powered by CSS variables and MutationObserver. When an option is changed, the script updates inline CSS variables on the document.
These then do things like trigger opacity changes and update transition timings 🤓![configuration](src/screenshots/configuration.png)
## Contributions
I'd love some! ❤️ Any PRs are welcome or suggestions.Ideas include:
- Creating a better icon 😅
- Porting to other browsers besides Firefox && Chrome
- Cleaner styling for the popup window 😅The code is in a place where it's not too heavy. There is a reason for this. If Twitter decides to change the UI structure significantly at some point, the extension will need updating.
## Development
### Chrome
- Rename `manifest.chrome.json` to `manifest.json`.
- Load the unpacked extension into Chrome by pointing at the focussed twitter directory.
### Firefox
- Rename `manifest.firefox.dev.json` to `manifest.json`.
- Load the add on into Firefox by pointing at the manifest file.---
Made in haste by @jh3y 😅