I've been looking for a script like this everywhere. The execution could be a little more seamless, the button placement is a little awkward, but I'll let that slide because it does what I need without using a 3rd party service.
I love this so much I decided to contribute. Replace the prompt statement with this so the tag will be filled in automatically:
prompt("Enter tag name to make public",document.getElementById("chrome-title").innerHTML)