Edenya-Script

try to take over the world!

目前为 2017-02-06 提交的版本,查看 最新版本

// ==UserScript==
// @name         Edenya-Script
// @namespace    http://tampermonkey.net/
// @version      0.100002
// @description  try to take over the world!
// @author       You
// @match        http://www.epershand.net/developpement/javascript-json/greasemonkey-firefox-url-minify-expander
// @grant        none
// @include        http://www.edenya.net/_vahal/*
// @include        https://www.edenya.net/_vahal/*
// ==/UserScript==

(function() {
    'use strict';
    var liste = [];
    liste.push(['cadre2','plum']);
    liste.push(['ligneA','black']);
    liste.push(['dialogue','white']);
    liste.push(['narration','gold']);
    liste.push(['cri','YellowGreen']);
    liste.push(['hj','peachpuff']);

    for (var i = 0; i < liste.length;i++){
        var x = document.getElementsByClassName(liste[i][0]);
        for (var j = 0; j < x.length; j++){
            x[j].style.color = liste[i][1];
        }
    }
})();