您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Searches for the company on Recruiter Rodeo
// ==UserScript== // @name Recruiter Rodeo Search // @version 3 // @description Searches for the company on Recruiter Rodeo // @author Sebastian Gumprich // @license GPLv3 // @match https://www.freelancermap.com/project/* // @match https://www.freelancermap.de/projekt/* // @match https://www.freelancermap.at/projekt/* // @namespace https://greasyfork.org/users/1342736 // ==/UserScript== (function() { 'use strict'; const span = document.querySelector('span[itemprop="name"]'); if (!span) return; // Exit if no such span is found let spanContent = span.textContent.trim(); const companyName = spanContent.replace(/gmbh/i,''); const button = document.createElement('button'); button.textContent = 'Search in Recruiter Rodeo'; const urlPrefix = 'https://recruiter.rodeo/recruiters/list?filters[search]='; const urlSuffix = '&filters[order]=ratings_count'; button.addEventListener('click', () => { const newUrl = urlPrefix + encodeURIComponent(companyName) + urlSuffix; window.open(newUrl, '_blank'); }); span.parentNode.insertBefore(button, span.nextSibling); })();