So i was playing doodleordie
)http://doodleordie.com) for a while and was annoyed that there were so less colors, so i Found this :
https://userscripts.org/scripts/show/116348 and it works.
After a while i wanted to edit this script. Having no idea about greasemonkey script i just tested to change some color names and stuff, but nothing worked.
Then i figured out, this script seems to do nothing. I went on and removed several lines from the source and it is still working with this :
var divs=document.getElementsByClassName("colors");
var colortable='<table width="100%" class="colortable">';
window.addEventListener("load", function(e) {
divs[0].innerHTML=colortable;
}, false);
Is it just a wierd behaviour because i had installed the original script before or WTF?.
Also there are more colours desplayed ( 112) than actually listed in the colors array ( 57)
Explain please