Malcolm Ocean's roamblog

how I avoid distractions on Twitter

created 2021-02-15 · edited 2021-02-15 · open in Roam
  • not complete yet but people periodically ask me and I want an ongoing reference
  • phone
  • desktop
    • a hodge-podge of userstyles & userscripts
    • have some userstyles that hide Home & Notifications altogether
      • @-moz-document domain("twitter.com") {
        
        body[style*='background'],
        main {
            background: #400 !important;
        }
        
        body[style*='background']:nth-child(2)::before {
            content: "choose intent & scope before entering\a\a👁️";/*
            content: "no twitter atm\a\a🚀\a\a ...coding!";
            */
            color: white;
            color: #c00;
            text-shadow: 1px -1px 2px #fff;
            white-space: pre;
            text-align: center;
            display: block;
            width: 100%;
            top: 300px;
            position: absolute;
            font-size: 4.5vw;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
        }
        
        #react-root {display: none !important}
        
        #motion-extension {display: none !important;}
        }
        
        @-moz-document url-prefix("https://twitter.com/messages"), url-prefix("https://twitter.com/compose/tweet"), url-prefix("https://twitter.com/search?") {
        body[style*='background'] {background: inherit !important;}
        body[style*='background']:nth-child(2)::before {content: ""}
        #react-root {display: block !important}
        
        
        header[role="banner"] {
          background: #201 !important;
        }
        header[role="banner"] > * {
            display: none;
        }
        
        #motion-extension {display: block !important}
        #twemex--container {display: none}
        }
    • make notifications less obnoxious (I basically hide them entirely except for DMs)
    • make compose less distracting
    • quicksearches