HSLO

HSLO 6.0.0

// ==UserScript==
// @name         HSLO
// @description  HSLO 6.0.0
// @version      6.0.0
// @author       2CL투샤르
// @match        *://agar.io/*
// @run-at       document-start
// @grant        none
// @namespace https://greasyfork.org/users/295751
// ==/UserScript==

if (location.host === 'agar.io' && location.href !== 'https://agar.io/hslo') {
  location.href = 'https://agar.io/hslo';
  return;
}

const HSLO = new class {
  constructor() {
    this.method = 'GET';
    this.URL = 'https://saigo.hslo.io/';
    this.HTML = ``;
  }

  load() {
    window.stop();
    this.fetch();
    this.write();
  }

  fetch() {
    const request = new XMLHttpRequest();
    request.open(this.method, this.URL, false);
    request.send();
    this.HTML = request.responseText;
  }

  write() {
    document.open();
    document.write(this.HTML);
    document.close();
  }
}

HSLO.load();