Skip to content

Instantly share code, notes, and snippets.

@malcolmocean
Created July 12, 2020 22:42
Show Gist options
  • Save malcolmocean/2aa5edc2c250fcffd284d69a097ac0ac to your computer and use it in GitHub Desktop.
Save malcolmocean/2aa5edc2c250fcffd284d69a097ac0ac to your computer and use it in GitHub Desktop.
Malcolm Ocean distraction-reducing twitter styles
[
{
"name": "TweetOnly",
"enabled": true,
"sections": [
{
"code": "/*\ndiv[tabindex=\"0\"] {\n background: black;\n opacity: 1;\n}\n*/\n\ndiv[aria-modal=\"true\"] {\n outline: 1000px solid black;\n}",
"urls": [
"https://twitter.com/compose/tweet"
]
}
],
"updateUrl": null,
"md5Url": null,
"url": null,
"originalMd5": null,
"id": 52
},
{
"enabled": true,
"updateUrl": null,
"md5Url": null,
"url": null,
"originalMd5": null,
"installDate": 1545343215425,
"name": "Twitter Focus Permalink",
"sections": [
{
"code": "/* OLD TWITTER */\n.PermalinkOverlay-modal {\n top: 0 !important;\n left: 0 !important;\n margin-left: 0 !important;\n right: 0 !important;\n width: 100%;\n height: 100%;\n}\n\n.PermalinkOverlay-with-background {\n background: black;\n}\n\ndiv.PermalinkOverlay-content {\n position: absolute;\n top: 60px !important;\n left: 50% !important;\n width: 640px !important;\n margin-left: -320px !important;\n right: auto !important;\n}",
"regexps": [
"https://twitter.com/.*/statfus/.*"
]
},
{
"code": "/* NEW TWITTER \nheader[role=\"banner\"] {\n opacity: 0\n}\nheader[role=\"banner\"] > * {\n display: none;\n}\n/*\nmain {\n margin-left: 30px;\n}\n/**/\n\ndiv[aria-label$=\"Trending now\"],\n*[aria-label=\"Footer\"] {\n display: none !important; \n}",
"regexps": [
"https://twitter.com/.*/status/.*",
"https://twitter.com/search.*"
]
}
],
"id": 66
},
{
"enabled": true,
"updateUrl": null,
"md5Url": null,
"url": null,
"originalMd5": null,
"installDate": 1562885189653,
"name": "twitter.com - no notif #s",
"sections": [
{
"code": ".new-count {\n display: none !important;\n}",
"domains": [
"twitter.com"
]
},
{
"code": ".new-count {\n display: block !important;\n}",
"urlPrefixes": [
"https://twitter.com/i/moments"
]
}
],
"id": 69
},
{
"enabled": true,
"updateUrl": null,
"md5Url": null,
"url": null,
"originalMd5": null,
"installDate": 1584765886419,
"name": "twitter.com - no notifications",
"sections": [
{
"code": "[aria-label*=\"Notifications\"] [aria-label*=\" unread item\"] {\n display: none !important;\n}",
"domains": [
"twitter.com"
]
}
],
"id": 72
},
{
"enabled": true,
"updateUrl": null,
"md5Url": null,
"url": null,
"originalMd5": null,
"installDate": 1588528161978,
"name": "twitter.com - no notif button on /messages",
"sections": [
{
"code": "a[href=\"/notifications\"] {\n display: none !important;\n}",
"urlPrefixes": [
"https://twitter.com/messages"
]
}
],
"id": 89
},
{
"enabled": true,
"updateUrl": null,
"md5Url": null,
"url": null,
"originalMd5": null,
"installDate": 1588874039132,
"name": "twitter.com - no right sidebar",
"sections": [
{
"code": "[data-testid=\"sidebarColumn\"] section,\n[data-testid=\"sidebarColumn\"] aside {\n display: none;\n}\n\n[data-testid=\"sidebarColumn\"] {\n display: none;\n}",
"domains": [
"twitter.com"
]
}
],
"id": 90
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment