Created
January 26, 2019 05:47
-
-
Save thatandromeda/720f6e5f34501aa85e0d979c32187750 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* If you use Chrome and gmail and wish your ALA Connect emails had a text-only option, this will get you pretty close. | |
1) Install the Stylus extension | |
2) Go to "write style for your URL" and copy-paste this file in (I would apply it to a URL like | |
https://mail.google.com/mail/u/0/#label/Board, assuming you're filtering your mail to a labeled place - if you use this | |
on the entirety of mail.google.com you may get undesired subject line behavior). | |
3) You may need to change the "margin: -160px;" line below, depending on your font and the name of your group. It's | |
intended to cut off the group name so you can see the actual message subject, but of course your group name may vary, | |
so change this number until you're happy with the way a subject looks. | |
*/ | |
/* Suppress HTML garbage */ | |
table[name=HLMsgOuter] img { | |
display:none ; | |
} | |
table[name=HLMsgOuter] table table:nth-child(1) { | |
display:none; | |
} | |
table[name=HLMsgOuter] table table:nth-child(2) table { | |
display:inherit; | |
} | |
table[name=HLMsgOuter] table table:nth-child(2) >tbody >tr:nth-of-type(1) { | |
display:none; | |
} | |
table[name=HLMsgOuter] table table:nth-child(2) >tbody >tr:nth-of-type(2) { | |
display:none; | |
} | |
table[name=HLMsgOuter] table table:nth-of-type(3) { | |
display:none; | |
} | |
table[name=HLMsgOuter] table table:nth-of-type(4) { | |
display:none; | |
} | |
/* Hide Connect group name cruft, but show rest of subject line */ | |
.bog span { | |
margin: -160px; | |
} | |
.bog, .bog span, .y6 { | |
overflow: visible; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment