getDeveloper

获取开发人员权重

Questo script non dovrebbe essere installato direttamente. È una libreria per altri script da includere con la chiave // @require https://update.greasyfork.org/scripts/390554/792123/getDeveloper.js

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

const words = [
    '郭小龙', '郭欢', '刘亿平', '郑加颖', '张宏赞', '汤鹏辉', '李迅菡', '王俊轩', '杨楠', '付长杰', '黎相麟', '胡仕军', '韦雪碧', '何子欣', '李萍', '温水根', '田亚豪', '聂佳彬', '何世福', '廖志杰', '董杰', '林浩涛', '宋友芳', '刘俊裕', '韩超', '梁思远', '林新城', '邹锐', '徐凯明', '宋远征', '熊兴文', '方志杰', '凌宏开', '房海灏', '王永煌', '陈立权', '邵珠彬', '杨建全', '谭亮', '张焕旭', '蔡金武', '刘知发', '何梓健', '张哲', '沈攀', '罗锦源', '黎琳', '刘荣耀', '程江帆', '葛兵', '李科', '汪岭', '胡东', '徐春林', '黄君霖', '龚耀庭', '杨胜涛', '柳志华', '陈安', '李则意', '邓业强', '彭润彬', '上官伟', '梁春间', '邱腾达', '王伟', '李开春', '付君', '刘焕', '颜建桐', '熊军', '陈勇', '宋海诚', '董国胜', '曹开治', '黄廷武', '成欢晴', '刘明', '严涵', '史靖', '王正', '徐伟', '王家夯', '黄琦', '司马攀', '屈志平', '肖红亮', '杨聪', '陈芝砚', '丘健', '邹新祥', '张越', '梅帆', '张海洋', '蒋子文', '李皆成', '汪岸', '谢瑜', '张浩', '刘家源', '黄均鹏', '邹振', '饶章辉', '钟波',
]

function maxTimesWord(targetString) {
    // return {name: words, times: n} or undefined
    let result = [];
    for (let word of words) {
        const pattern = new RegExp(word, 'g');
        const matchTimes = targetString.match(pattern);
        if (matchTimes) {
            result.push({name: word, times: matchTimes.length})
        }
    }
    return result.sort((a, b) => {
        return b.times - a.times
    })[0]
}