User:Blake Xi/global.js

importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('MediaWiki:Chat.js/options.js','xiaolinpedia') importScriptPage(('MessageBlocker/code.js', 'dev'),'xiaolinpedia') importScriptPage('User:Joeytje50/ChatPMs.js', 'c'); importScriptPage('MediaWiki:Chat.js/searchbar.js','cod', 'c');

importArticles({	type: "script",	articles: [		"u:dev:MediaWiki:QuickModTools/loader.js"	] }); var textSound = $('#myText').val; $('ul.WikiChatList').prepend(' Type here the URL of the  audio file and press Enter  Search MP3 files'); $('#playAudio').click(function { var audiowtf = document.getElementById("audiowtf"); audiowtf.play; }); var audioElement = document.getElementsByTagName('audio')[0]; var inputElement = document.getElementsByTagName('input')[0]; $('input').keyup(function { if (event.keyCode == 13) {    loadAndPlay(inputElement.value);  } }); function loadAndPlay(src) { audioElement.pause; audioElement.src = src; audioElement.load; audioElement.play; } loadAndPlay(inputElement.value);