Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * The extension is only an CSS to hide the promoted content
- * I have extract the CSS for use without the extension
- * You can use "Stylus" or other to add the CSS on the Twitter pages
- *
- * Source : https://addons.mozilla.org/fr/firefox/addon/hide-promoted-tweets/
- */
- /* Old Twitter Layout (as of July 2019) */
- .tweet[data-promoted="true"],
- .has-profile-promoted-tweet {
- display: none;
- }
- /* New Twitter Layout (as of July 2019) */
- /* CSS looks like random gibberish so we'll have to see if this continues to work in the future */
- .css-1dbjc4n > .css-1dbjc4n > .css-1dbjc4n > article.css-1dbjc4n {
- display: none;
- }
- /* Updated Twitter Layout (as of August 2019) */
- .css-1dbjc4n > .css-1dbjc4n > article.css-1dbjc4n {
- display: none;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement