Handshake UX+

Ban keywords found in job listings

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name         Handshake UX+
// @namespace    http://tampermonkey.net/
// @version      1.0.0
// @description  Ban keywords found in job listings
// @author       TigerYT
// @include      *://*.joinhandshake.co.uk/job-search/*
// @icon         https://cdn.joinhandshake.co.uk/favicon.png
// @grant        GM_registerMenuCommand
// @license      The Unlicense
// ==/UserScript==

unsafeWindow.bannedList = ["Chef", "Sport", "Finance", "Market", "Chemist", "Communications", "Talent", "Analyst", "Founder", "CEO", "Business", "Growth", "Sale", "Material", "Administrator"];
// Update this in Chrome DevTools with `window.bannedList`, e.g;
// window.bannedList = ["Developer", "Engineer", "AI"]

function executeUsercript() {
    'use strict';

    const jobList = Array.from(document.querySelector('div:has(> :nth-child(20))').children);

    jobList.forEach((job) => {
        if (job.children.length != 4) return;

        const hideButton = job.querySelector('[overlay="Hide"] > button');
        const jobTitle = job.querySelector('[id]').textContent;

        if (bannedList.some((bans) => jobTitle.toLowerCase().includes(bans.toLowerCase()))) {
            hideButton.click();
        };
    });
};

// Register context menu option
GM_registerMenuCommand("Remove Banned Jobs", executeUsercript);