Comments (5)
Hey, that was me. :)
Those three lines of code stretches the main content to full width but it also hides search bar (because search bar is in the sidebar).
We could replace the Twitter logo with the search box.
document.querySelector('h1[role="heading"]').append(document.querySelector('form[aria-label="Search Twitter"]'));
from control-panel-for-twitter.
Is it possible to add this to the Addon manually? Would love to get rid of the empty space that's left behind by the right sidebar.
from control-panel-for-twitter.
The search doesn't work in the left hand menu (the dropdown goes under the nav menu and also causes a scrollbar to appear), what should we do with it, bearing in mind that the top bar can also optionally contain the shared tweets timeline and the sparkle menu (when the Home timeline is enabled)?
Right | Searching |
---|---|
Middle | Searching |
---|---|
CSS for limiting media to its original size, so you can fit more tweets in, instead of fewer (and a debug outline):
[data-testid="primaryColumn"] [data-testid="tweet"] > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-last-of-type(2):not(:empty) {
max-width: 600px;
outline: 2px solid red;
}
from control-panel-for-twitter.
Also adding a li'l slider to let you control the width used:
from control-panel-for-twitter.
Released in v2.9
from control-panel-for-twitter.
Related Issues (20)
- β¨ Feature Request: Hide the "Follows you" badge when "Following/followers" is hidden
- βLikesβ are being made private
- [Feature Request] Show the likes tab again
- Detection of Chirp font rule stopped working
- Option to always show content warnings if they exist
- Option to remove "Discover More" is broken HOT 1
- Can't exit the menu to view followers
- β¨ Feature Request: Allow replacing the circular character indicator with a count
- Edge HOT 1
- Feature Request: Mute websites HOT 2
- [Feature request] Add 'F' button to go into fullscreen on video's
- Somehow use official interaction links implementation?
- Feature Request? Hide quote retweets from accounts you've blocked.
- Request to Expand the "Show more" link in tweets
- Option to hide all sensitive comments instead of giving the option to show it
- 'For You' not blocking in x.com HOT 1
- Something new to hide, 'location'?
- Feature Request: Disable click hijacking for "Grok" button
- Premium checks sneaking back in
- Community Notes elements being hidden
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from control-panel-for-twitter.