Greasy Fork

Greasy Fork is available in English.

Modo Undercover

Affiche les modos qui postent en noir, en vert. Plus de surprises maintenant.

当前为 2018-11-25 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name        Modo Undercover
// @author      Snizzle
// @version     1.0
// @supportURL  http://www.jeuxvideo.com/messages-prives/nouveau.php?all_dest=Snizzle;Snitchzzle
// @copyright   2018, Snizzle
// @licence     MIT
// @description Affiche les modos qui postent en noir, en vert. Plus de surprises maintenant.
// @grant       none
// @require     https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js
// @match       *://www.jeuxvideo.com/forums/*
// @match       *://www.jeuxvideo.com/recherche/*
// @run-at      document-end
// @namespace http://greasyfork.icu/users/23327
// ==/UserScript==

$(function($) {
    var listeModos = $(".liste-modo-fofo").text().trim();
    var color = "#3a9d23";
    $(".bloc-header").each(function(){
        var pseu = $(this).children(".text-user");
        if (listeModos.includes(pseu.html().trim())) {pseu.css("color",color);}
    })

    $(".topic-list-admin li:gt(0)").each(function(){
        var pseu = $(this).children(".topic-author");
        if (listeModos.includes(pseu.html().trim())) {pseu.css("color",color);}
    })
})