User:Digitalme/speedy.js

// function db {   var type=prompt('db-', 'nonsense'); document.editform.wpTextbox1.value = '{' + '{' + 'db-' + type + '}}\n' + document.editform.wpTextbox1.value; document.editform.wpSummary.value = 'Marked for speedy deletion'; document.editform.wpMinoredit.checked = false; document.editform.submit; }

function addDbMenu {   addTab('javascript:db;', 'db', 'ca-db', 'db', 's'); }

if (document.editform) {   addOnloadHook(addDbMenu); akeytt; } //