VOOZH about

URL: https://minecraft.wiki/w/MediaWiki:Gadget-iwb.js

⇱ MediaWiki:Gadget-iwb.js – Minecraft Wiki


MediaWiki:Gadget-iwb.js

From Minecraft Wiki
Jump to navigation Jump to search
In other languages

Note: After saving, you have to bypass your browser's cache to see the changes.

Google Chrome, Firefox, Microsoft Edge, and Safari: Hold down the key and click the Reload toolbar button.
For details and instructions about other browsers, see Wikipedia:Bypass your cache.

(()=>{
constbtns=document.querySelector('.iwb-download-btns');
if(!btns)return;
constmainDlBtn=document.createElement('a');
mainDlBtn.innerHTML='<span style="margin-left: 50px;">Download</span>';
constua=navigator.userAgent;
if(ua.includes('Firefox')){
mainDlBtn.classList.add('iwb-dl-ff');
mainDlBtn.href='https://addons.mozilla.org/en-US/firefox/addon/indie-wiki-buddy/';
}elseif(ua.includes('Edg')){
mainDlBtn.classList.add('iwb-dl-edge');
mainDlBtn.href='https://chromewebstore.google.com/detail/indie-wiki-buddy/fkagelmloambgokoeokbpihmgpkbgbfm';
}elseif(ua.includes('Chrome')){
mainDlBtn.classList.add('iwb-dl-chrome');
mainDlBtn.href='https://chromewebstore.google.com/detail/indie-wiki-buddy/fkagelmloambgokoeokbpihmgpkbgbfm';
}else{
constunsupported=document.createElement('p');
unsupported.innerText='Sorry! Your browser currently does not support Indie Wiki Buddy. Try using Chrome or Firefox.';
btns.prepend(unsupported);
return;
}
btns.prepend(mainDlBtn);
})();
Retrieved from "https://minecraft.wiki/w/MediaWiki:Gadget-iwb.js?oldid=2600047"

Navigation menu