ajsnyde / Kill Indeed Sponsored

// ==UserScript==
// @name         Kill Indeed Sponsored
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  removes sponsored jobs from Indeed.com searches
// @author       ajsnyde
// @match        https://www.indeed.com/jobs*
// @grant        none
// @license      MIT
// ==/UserScript==

(function () {
  'use strict';

  var x = document.getElementsByClassName("jobsearch-SerpJobCard");
  // sponsoredGray
  [...x].forEach(function (element) {
    if (element.innerHTML.includes(">Sponsored<")) {
      element.remove()
    }
  });
})();