User:Omegatron/monobook.js/unverified.js: Difference between revisions

Content deleted Content added
No edit summary
turn the tab background red to indicate it hasn't done what you wanted it to
Line 4:
 
Adds an unverified image tag when you press a tab, if the tag isn't already there. Depends on addLink() function. Otherwise should be self-contained.
 
Could be modified to do any other type of tag, too. Replace "tag = ", the edit summary, and the addLink() parameters
 
<pre><nowiki> */
Line 26 ⟶ 28:
// Press the Save page button
document.editform.wpSave.click()
}
else (
document.getElementById('ca-unverified').firstChild.style.backgroundColor = "#FF0000"
}
}