Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function butthurtizator(butthurt) {
- var ls = butthurt;
- var c = prompt("Введите строчку. Для завершения нажмите Отмена");
- if (c)
- ls.push(c), butthurtizator(ls);
- else
- bugurt = ls;
- }
- document.onkeydown = function (event) {
- if (event.which == 73 && event.ctrlKey) {
- butthurtizator([]);
- var te = "[b]";
- for (var i = 0; i < bugurt.length; i++) {
- te += bugurt[i].toUpperCase() + "\n@\n";
- }
- te = te.slice(0, -3);
- te += "[/b]";
- document.getElementById("shampoo").value += te;
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment