User:The Oracle23/quartz.js

//Person .js file for User;The Oracle23. // A small piece of JS writen by wikipedia:User:MatthewFenton, This is my first piece of JS. function welcome { if (document.title.indexOf('Editing User talk:') == 0) { document.editform.wpTextbox1.value = document.editform.wpTextbox1.value + '==' + 'Welcome' + '==\n' + '\n' + ''; document.editform.wpSummary.value = 'Welcome a user to Custom Bionicles using JS WW'; } } function welcome_tab { add_link('javascript:welcome', 'Welcome'); }

if (document.title.indexOf('Editing User talk:') == 0) { addOnloadHook(welcome_tab); }