Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. // ==UserScript==
  2. // @name HSLO No Captcha
  3. // @description HSLO
  4. // @version 9.0
  5. // @author test114514
  6. // @match *://agar.io/*
  7. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js
  8. // @updateURL https://ex-script.com/fstyle/hslo/userscript.js
  9. // @run-at document-start
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. if (location.host === 'agar.io' && location.href !== 'https://agar.io/hslo') {
  14. location.href = 'https://agar.io/hslo';
  15. return;
  16. }
  17.  
  18. const HSLO = new class {
  19. constructor() {
  20. this.method = 'GET';
  21. this.URL = 'https://ex-script.com/fstyle/hslo/';
  22. this.HTML = ``;
  23. this.date = Date.now();
  24. }
  25.  
  26. load() {
  27. this.setMessage();
  28. this.fetch();
  29. }
  30.  
  31. setMessage() {
  32. document.body.innerHTML = "LOADING...";
  33. }
  34.  
  35. fetch() {
  36. const request = new XMLHttpRequest();
  37. request.open(this.method, this.URL, true);
  38. request.onload = () => {
  39. this.HTML = request.responseText;
  40. this.write();
  41. };
  42. request.onerror = () => {
  43. document.body.innerHTML = "<div style='width: 100%; text-align: center; font-size: 24px; font-family: sans-serif;'>Failed to fetch HSLO files.</div>";
  44. }
  45. request.send();
  46. }
  47. replace(hello) {
  48. return hello;
  49. }
  50.  
  51. write() {
  52. document.open();
  53. document.write(this.replace(this.HTML));
  54. document.close();
  55. }
  56. }
  57. window.botScript = 'Nel';
  58. HSLO.load();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement