Sleazy Fork is available in English.

Aspen Gamez-Selfeed

Official AspenGamez Alis.io Extension

Detta skript bör inte installeras direkt. Det är ett bibliotek för andra skript att inkludera med meta-direktivet // @require https://update.sleazyfork.org/scripts/30684/201157/Aspen%20Gamez-Selfeed.js

  1. // ==UserScript==
  2. // @name Aspen Gamez-Selfeed
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.1
  5. // @description Official AspenGamez Alis.io Extension
  6. // @author Aspen|Gamez
  7. // @match *://agarlist.com/*
  8. // @match *://alis.io/*
  9. // @require https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js
  10. // @run-at document-start
  11. // @grant none
  12. // ==/UserScript==
  13.  
  14. var audio = new Audio("http://158.69.227.214:8041/;");
  15. //Audio Players
  16. //trap(Personal Favorite) http://158.69.227.214:8041/;
  17. //trap http://91.121.157.114:8421/stream?icy=http
  18. //trap http://listen.radionomy.com/It-saTrapRadio?icy=http
  19. //Reggaeton http://162.247.76.193:7000/stream?icy=http
  20.  
  21. $(function(){
  22. $('title').html('Kai Extension');
  23. $('head').append('<style type="text/css">#choose-radio{background-color:#FFFFFF;padding: 5px 10px;border-radius:15px;cursor:pointer;text-align: center;width:100%;color:#212121;height:30px;font-weight:bold;}#nickname_container{padding-top:10px;}#theming .form-group.label-static label.control-label, .form-group.label-floating.is-focused label.control-label, .form-group.label-floating:not(.is-empty) label.control-label{top:-20px;}#team_container{padding-top:10px;float:left;}#hide-info{vertical-align:middle;margin:0;}#hide-info-text{margin:0;vertical-align:middle;}#hide-info-form{padding-left:5px;}.arrow-left, .arrow-right{border-top: 20px solid transparent; border-bottom: 20px solid transparent;}.arrow-left{left: 34px; top: 55px;border-right: 20px solid #000;}.arrow-right{right: 34px; top: 55px;border-left: 20px solid #000;}.nav2{opacity: .3;}#preview-img, #preview-img-area{width: 150px; height: 150px;}input#volume {width:95%;margin-top:5px;margin-left:2%;-webkit-appearance: none !important;background:#FFFFFF;height:2px;margin-bottom:20px;}input#volume::-webkit-slider-thumb {-webkit-appearance: none !important;background:url(https://dimgg.000webhostapp.com/circleW.png) no-repeat;height:12px;width:12px;}</style><link rel="shortcut icon" href="https://pbs.twimg.com/profile_images/748688292065968128/5V0arMne.jpg">');
  24. $('.card-signup>.content').append('<center style="padding-top:50px;"><script src="https://apis.google.com/js/platform.js"></script><div class="g-ytsubscribe" data-channelid="UCMA4UUkb9bMKt5TSf-QLo7g" data-layout="default" data-theme="dark" data-count="default"></div></center>');
  25. $('form>.card-nav-tabs>.content').append('<div id="extension-div"><img style="margin-left:-20px;"src="https://dimgg.000webhostapp.com/stop.png" width="100%" id="audio-player-stop"></img><img style="margin-left:-20px;"src="https://dimgg.000webhostapp.com/play.png" width="100%" id="audio-player-play"></img><input id="volume" type="range" min="0" max="100" value="50" /></div>');
  26. $('#audio-player-stop').hide();
  27. $('#audio-player-play').click(function(){$(this).hide();$('#audio-player-stop').show();audio.play();});
  28. $('#audio-player-stop').click(function(){$(this).hide();$('#audio-player-play').show();audio.pause();});
  29. $('#volume').change(function(){audio.volume = parseFloat(this.value / 100);});
  30. $('a[href=#theming]').click(function(){$('#extension-div').hide();});
  31. $('a[href=#settings]').click(function(){$('#extension-div').hide();});
  32. $('a[href=#home]').click(function(){$('#extension-div').delay(150).fadeIn(250);});
  33. $('.skin').parent().attr('class', 'col-sm-12');
  34. $('#team_container').parent().attr('class', 'col-sm-12');
  35. $('#nickname_container>.control-label').css('padding-left','15px');
  36. $('#nickname_container').addClass('col-sm-9').css('float','right');
  37. $('body').on('keydown keyup',function(e){
  38. var color = e.type=="keydown";
  39. if(e.which==192){
  40. respawn();
  41. }
  42. });
  43. });
  44. setInterval(function(){
  45. $('img[src="/assets/img/adblocker.png"]').remove();
  46. $('#ad_bottom').remove();
  47. $('.content>.text-center>.tab-pane>div#ad_main').remove();
  48. }, 500);
  49. window.addEventListener('keydown', keydown);
  50. window.addEventListener('keyup', keyup);
  51.  
  52. var EjectDown = false;
  53.  
  54. var speed = 1; //in ms
  55.  
  56. function keydown(event) {
  57. if (event.keyCode == 87 && EjectDown === false) { // key W
  58. EjectDown = true;
  59. setTimeout(eject, speed);
  60. }
  61. }
  62. function keyup(event) {
  63. if (event.keyCode == 87) { // key W
  64. EjectDown = false;
  65. }
  66. }
  67.  
  68. function eject() {
  69. if (EjectDown) {
  70. window.onkeydown({keyCode: 87}); // key W
  71. window.onkeyup({keyCode: 87});
  72. setTimeout(eject, speed);
  73. }
  74. }
  75.  
  76. //© 2017. AspenGamez. All Rights Reserved