Forum:Toolbar Links

Hello, I was wondering how I add a link to the toolbar that when clicked, executes a script. In this case the script uses 2 get requests and 1 post request. This script uses the 2 gets to get the username of the last person that edited the page and uses the post request to add the unsigned template to the end of the text. I cannot post the code anywhere myself because the spam filter blocks it. Every way I have tried has ended in errors and/or fails to work. I was wondering if anyone could help me with this? The code may be found here

User:Shining-Armor 11:48, May 29, 2013 (UTC)