Separate sponsored jobs from search on Indeed

Separate sponsored jobs from search making them appear yellow. Useful to distinguish those jobs you've not searched, but are in the results just because they're sponsored.

As of 2018-11-13. See the latest version.

// ==UserScript==
// @name     Separate sponsored jobs from search on Indeed
// @version  1
// @grant    none
// @description  Separate sponsored jobs from search making them appear yellow. Useful to distinguish those jobs you've not searched, but are in the results just because they're sponsored.
// @author       StephenP
// @match        https://*.indeed.com/*
// @match        http://*.indeed.com/*
// @namespace    StephenP
// ==/UserScript==
var sponsoredJobs=document.getElementsByClassName("sponsoredGray");
for(var i=0;i<sponsoredJobs.length;i++){
	sponsoredJobs[i].parentNode.parentNode.parentNode.parentNode.style.backgroundColor="#FFFFBB";
}