Edenya-Script

try to take over the world!

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

  1. // ==UserScript==
  2. // @name Edenya-Script
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.100002
  5. // @description try to take over the world!
  6. // @author You
  7. // @match http://www.epershand.net/developpement/javascript-json/greasemonkey-firefox-url-minify-expander
  8. // @grant none
  9. // @include http://www.edenya.net/_vahal/*
  10. // @include https://www.edenya.net/_vahal/*
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. var liste = [];
  16. liste.push(['cadre2','plum']);
  17. liste.push(['ligneA','black']);
  18. liste.push(['dialogue','white']);
  19. liste.push(['narration','gold']);
  20. liste.push(['cri','YellowGreen']);
  21. liste.push(['hj','peachpuff']);
  22.  
  23. for (var i = 0; i < liste.length;i++){
  24. var x = document.getElementsByClassName(liste[i][0]);
  25. for (var j = 0; j < x.length; j++){
  26. x[j].style.color = liste[i][1];
  27. }
  28. }
  29. })();