58同城

58同城获取职业,薪资,公司名且跳转

目前为 2022-06-23 提交的版本。查看 最新版本

// ==UserScript==
// @name         58同城
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  58同城获取职业,薪资,公司名且跳转
// @author       Ying
// @match        https://cn.58.com/*
// @match        https://bj.58.com/*
// @match        https://px.58.com/*
// @grant        GM_setClipboard
// @license MIT
// ==/UserScript==

javascript: (function() {
var job = document.createElement("input");
    job.setAttribute("name","number");
    job.setAttribute("id","jobs");
    job.setAttribute("value","获取职业");
    job.setAttribute("style","width:130px;height:45px;line-height:43px;box-sizing:border-box;vertical-align:middle;font-size:16px;font-weight:500;text-align:center;background:#5dd5c8;color:white;");
    $('.header_fabu').append(job);

    job.onclick=function(){
        var nr = document.getElementsByClassName("pos_title")[0].innerHTML;
        GM_setClipboard(nr);
    };

var money = document.createElement("input");
    money.setAttribute("name","number");
    money.setAttribute("id","jobs");
    money.setAttribute("value","获取薪资");
    money.setAttribute("style","width:130px;height:45px;line-height:43px;box-sizing:border-box;vertical-align:middle;font-size:16px;font-weight:500;text-align:center;background:#5dd5c8;color:white;");
    $('.header_fabu').append(money);

    money.onclick=function(){
        var nr = document.getElementsByClassName("pos_salary")[0].innerHTML;
        nr=nr.split('<',1);
        GM_setClipboard(nr);
    };

    var name = document.createElement("input");
    name.setAttribute("name","number");
    name.setAttribute("id","jobs");
    name.setAttribute("value","企查查");
    name.setAttribute("style","width:130px;height:45px;line-height:43px;box-sizing:border-box;vertical-align:middle;font-size:16px;font-weight:500;text-align:center;background:#5dd5c8;color:white;");
    $('.header_fabu').append(name);

    name.onclick=function(){
        var nr = document.getElementsByClassName("baseInfo_link")[0];
        var nt = nr.getElementsByTagName("a")[0].innerHTML;
        GM_setClipboard(nt);
      window.open('https://www.qcc.com/web/search?key='+nt);
        window.open('https://www.youbianku.com/'+nt)
    };
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址