Skip to content

Instantly share code, notes, and snippets.

@tommyh
Created October 9, 2015 17:43
Show Gist options
  • Save tommyh/8dd1e9f8a149d076d16d to your computer and use it in GitHub Desktop.
Save tommyh/8dd1e9f8a149d076d16d to your computer and use it in GitHub Desktop.
Hired.com: Hide Salary Information Bookmarklet
(function(){
var salaryElementSelector = ".salary, .subheading__salary, .offer-text, .candidate-info--salary, .btn-one-click-offer span",
salaryElements = document.querySelectorAll(salaryElementSelector);
for (var i = 0; i < salaryElements.length; ++i) {
salaryElements[i].style.display = "none";
}
})();
<h1>Hired.com: Hide salary information bookmarklet</h1>
<p>This bookmarklet will hide all salary information from hired.com pages.</p>
<p><a href="javascript:(function()%7B(function()%7Bvar%20salaryElementSelector%20%3D%20%22.salary%2C%20.subheading__salary%2C%20.offer-text%2C%20.candidate-info--salary%2C%20.btn-one-click-offer%20span%22%2CsalaryElements%20%3D%20document.querySelectorAll(salaryElementSelector)%3Bfor%20(var%20i%20%3D%200%3B%20i%20%3C%20salaryElements.length%3B%20%2B%2Bi)%20%7BsalaryElements%5Bi%5D.style.display%20%3D%20%22none%22%3B%7D%7D)()%7D)()">Hired.com</a></p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment