Edenya-Script

try to take over the world!

当前为 2016-11-10 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Edenya-Script
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.100001
  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. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14. var liste = [];
  15. liste.push(['cadre2','plum']);
  16. liste.push(['ligneA','black']);
  17. liste.push(['dialogue','white']);
  18. liste.push(['narration','gold']);
  19. liste.push(['cri','YellowGreen']);
  20. liste.push(['hj','peachpuff']);
  21.  
  22. for (var i = 0; i < liste.length;i++){
  23. var x = document.getElementsByClassName(liste[i][0]);
  24. for (var j = 0; j < x.length; j++){
  25. x[j].style.color = liste[i][1];
  26. }
  27. }
  28. })();