mods
|
|
I changed the sage/noko buttons into actual buttons instead of links, just for looks, and then I set it to clear the email field automatically, since sometimes I want to leave it blank, and sometimes people actually use it to communicate, like during the positron uprising.
/* Add sage/noko buttons */
newspan = d.createElement("span");
noko = d.createElement("input");
noko.value = "noko";
noko.type = "submit";
noko.setAttribute("onclick", "this.parentNode.previousSibling.previousSibling.value = 'noko';");
newspan.appendChild(noko);
sage = d.createElement("input");
sage.value = "sage";
sage.type = "submit";
sage.setAttribute("onclick", "this.parentNode.previousSibling.previousSibling.value = 'sage';");
newspan.appendChild(sage);
email = d.getElementsByName("email")[0];
email.value = '';
email.parentNode.appendChild(newspan);
note that since 4chan's been down, i haven't been able to test whether or not the sage/noko buttons actually submit posts. |