Starve.io Show Servers

Show servers while playing

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Starve.io Show Servers
// @namespace    https://greasyfork.org/ja/users/320131-heart-starve
// @version      0.1.8
// @description  Show servers while playing
// @author       heart_starve#9771
// @match        https://starve.io/
// ==/UserScript==

var servername = document.createElement('div');
   document.getElementById('ad_content_market').appendChild(servername);

function servercheck(){
   var server = document.getElementsByClassName('ng-binding');
   if(servername.innerHTML != server[0].innerHTML){
      servername.innerHTML = server[0].innerHTML;
   }
}
setInterval(servercheck,1000);