(no title)
nick_g | 2 years ago
tbody tr.athing:has(.title .titleline a[href*="twitter.com"]),
tbody tr.athing:has(.title .titleline a[href*="twitter.com"]) + tr,
tbody tr.athing:has(.title .titleline a[href\*="twitter.com"]) + tr + tr
{
display: none;
}
This selects for any `tr` which has an anchor to a url with twitter.com somewhere in it (with some layers in between) and the two `tr` which follow. Note that this is pretty naive and could have some false positives with links such as https://example.com/blog/a-post-about-twitter.com and such, you could be more careful with the attribute selector if you'd likeThis will leave "holes" in the numbering of the list of items as the numbers are not calculated based on the structure of the document but are rather hardcoded. You could definitely fix this with some more funky css rules if needed.
sixstringtheory|2 years ago
2024throwaway|2 years ago