User:Yair rand/StickyNotes.js

$(".editsection").each(function{ var l = this.insertBefore( document.createTextNode(" | "), this.insertBefore(  document.createElement("a"),   this.lastChild  ).appendChild(   document.createTextNode("sticky note")  ).parentNode ).nextSibling; l.style.cursor = "pointer"; l.title = "Add a sticky note to this section"; l.onclick = function{ // do stuff } })