Skip to content

Instantly share code, notes, and snippets.

@InfiniteCoder
Last active May 27, 2018 11:57
Show Gist options
  • Save InfiniteCoder/7f80d64f777edb46513f166850dc62f4 to your computer and use it in GitHub Desktop.
Save InfiniteCoder/7f80d64f777edb46513f166850dc62f4 to your computer and use it in GitHub Desktop.
Show only fresher jobs on hirist
// ==UserScript==
// @name Hirist Fresher Jobs
// @version 1.1
// @grant none
// @include https://www.hirist.com/rel/*
// @include https://www.hirist.com/jobfeed/*
// @include https://www.hirist.com/jobfeed
// ==/UserScript==
// License: MIT
function myLoop () {
setTimeout(function () {
list = document.getElementsByClassName("listing")[0];
for(var i = 0; i < list.childElementCount; i++){
item = list.children[i];
if(item.innerText.match("\\(0-") == null){
item.style.display = 'none';
}
}
myLoop();
}, 5000)
}
myLoop();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment