Quantcast
Viewing all articles
Browse latest Browse all 86

Remove/Hide all "text-decoration: line-through" formatted elements on a Website?

How to remove or hide all elements on a webpage when text is formatted with: text-decoration: line-through?

Because these elements are already obsolete or just for reference, i don't want to see them anymore.

<s>hide this line</s>

The solution should be universal and work for nearly every website., that means blocking them by class name is not the solution i prefer. Never the less, i'm open for every solution that works, JS, CSS, Browser setting, others ...

Any ideas how to solve this?

I've an approach with Tampermonkey but, this just helps to remove the strike out lines, not the element itself.

GM_addStyle('* { text-decoration: none !important; }');

I want something like that in the Pseudo code:

if (element.text-decoration == line-through) then  element.remove

Viewing all articles
Browse latest Browse all 86

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>