Questions

  1. Is there an add-on that allows me to do the following?

  2. What’s a very easy way to do the following via programming? js or whatever.

-–

I want to delete or hide a HTML section that has specific text. Using regex on the source HTML is quick, dirty, and ugly but is there another very easy way? There isn’t - is there?

The thumb is an example. I want the Christmas shit gone.

So - if \b(Christmas)\b is in a TR then hide or delete it.

Quick/dirty is key. And I don’t want to spend untold hours trying to learn and then failing to learn how to programmatically do it the right way. I know regex can be a nightmare but I want to do be able to do the removal/hiding at other sites too.

I don’t see another way to reuse this method on any site. [Edit: That was confusing.]

  • InevitableSwing [none/use name]@hexbear.netOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    27 days ago

    But why Violentmoney?

    This extension is no longer supported on Chrome…

    Why not just Greasemonkey?

    -–

    Ublock Origin’s filter creator that allows you to zap elements and create a per-site filter though I don’t know how granular its filtering options are

    I could be missing something but in their Reddit sub - there is zero non-programmer user support. It’s a shame but answers often link to highly technical docs that are totally incomprehensible to a normie. But for shits and giggles - I’ll google for regex stuff and Ublock. God help me if I find out regex in Ublock is possible though. I won’t be able to understand anything. Haha.

    • hello_hello [comrade/them]@hexbear.net
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      27 days ago

      Greasemonkey was superseded by violentmonkey, and tampermonkey is proprietary. It doesn’t work on google chrome specifically because of it supporting the more restrictive manifest version 3 and dropping manifest version 2. Other chromium based browsers should work like brave but Firefox will never drop manifest v2.

      Web stuff is highly technical, which is why a lot of companies use the web to push anti features. Wish you luck.