Advertisement
ReActif

Twitter sans contenu sponsorisé

Oct 2nd, 2019
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.76 KB | None | 0 0
  1. /**
  2.  * The extension is only an CSS to hide the promoted content
  3.  * I have extract the CSS for use without the extension
  4.  * You can use "Stylus" or other to add the CSS on the Twitter pages
  5.  *
  6.  * Source : https://addons.mozilla.org/fr/firefox/addon/hide-promoted-tweets/
  7.  */
  8.  
  9. /* Old Twitter Layout (as of July 2019) */
  10. .tweet[data-promoted="true"],
  11. .has-profile-promoted-tweet {
  12.     display: none;
  13. }
  14.  
  15. /* New Twitter Layout (as of July 2019) */
  16. /* CSS looks like random gibberish so we'll have to see if this continues to work in the future */
  17. .css-1dbjc4n > .css-1dbjc4n > .css-1dbjc4n > article.css-1dbjc4n {
  18.     display: none;
  19. }
  20.  
  21. /* Updated Twitter Layout (as of August 2019) */
  22. .css-1dbjc4n > .css-1dbjc4n > article.css-1dbjc4n {
  23.     display: none;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement