javascript: (function () { if (!(document.getElementById('wbBlockParentUI'))) { if (location.href.match(/^(http):\/\/[A-Za-z]+.(wikipedia.org)/) == null || wgNamespaceNumber != 0) { alert('Please select a valid article from wikipedia and invoke WikiBhasha (Beta).'); return; } this.baseUrl = 'http://www.wikibhasha.org/'; this.targetLanguageCode = 'en'; this.wikiSourceLanguage = typeof wgUserLanguage !== 'undefined' ? wgUserLanguage : 'en'; wbBookMarkletLinkDiv = document.createElement('div'); wbBookMarkletLinkDiv.id = 'wbLoadDiv'; this.wbIsInvokedFromBookmarklet = 'true'; wbBookMarkletLinkDiv.innerHTML = '
Loading...
'; document.body.appendChild(wbBookMarkletLinkDiv); function addScript(srcUrl) { wbBookMarkletScripts = document.createElement('script'); wbBookMarkletScripts.setAttribute('src', 'http://www.wikibhasha.org/' + srcUrl); document.body.appendChild(wbBookMarkletScripts); } addScript('js/main.js'); } })()