NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @namespace https://openuserjs.org/users/Bibliofile // @name Blockheads - Message Bot 7.x // @description Adds a bot link to server navigation. // @copyright 2018, Bibliofile (https://openuserjs.org/users/Bibliofile) // @license MIT // @version 0.0.1 // @include http://portal.theblockheads.net/worlds/* // @grant none // ==/UserScript== // ==OpenUserJS== // @author Bibliofile // ==/OpenUserJS== (function () { 'use strict'; var container = document.querySelector('#tabs > ul'); var li = document.createElement('li'); var link = document.createElement('a'); link.textContent = 'Message Bot'; li.appendChild(link); document.querySelector('#tabs > ul').appendChild(li); link.addEventListener('click', function () { link.remove(); var s = document.createElement('script'); s.src = 'https://gitcdn.xyz/cdn/Blockheads-Messagebot/Browser-Loader/master/bundle.js'; document.head.appendChild(s); }); })();