Remove All Elements on the Page that Contain a Specific Word:

Viewed 22

What I am trying to do is remove all the elements on a Google result page that contain a specific word. However, it only is removing one element.

$("div[class*='IsZvec']:contains('Example')").remove();
1 Answers

You should try this:

$("div.IsZvec").remove(":contains('Example')");
Related