NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name ОБНОВЛЕНИЕ МАРКЕТА // @namespace http://tampermonkey.net/ // @version 0.1 // @description от морти // @author MORTYLZT // @match https://lolz.guru/market* // @grant 123 // @require http://www.net-f.ru/primer/jquery.cookie.js // @license MIT // @copyright 2021, jasdkasdasdads (https://openuserjs.org/users/jasdkasdasdads) // ==/UserScript== // НАСТРОЙКИ // zaderzhka = 2000 // В МС // ДАЛЬШЕ НЕ СМОТРИ // if($.cookie("scr") != ''){ if($.cookie("scr") == 'on'){ $('#MarketSearchBar > div:last-child').append('<span class="on button mn-15-0-0" style="background: #228e5d;"><i class="fa fa-check-square"></i></span>'); } else { $('#MarketSearchBar > div:last-child').append('<span class="off button mn-15-0-0" style="background: #363636;"><i class="fa fa-check-square"></i></span>'); } } else { $('#MarketSearchBar > div:last-child').append('<span class="on button mn-15-0-0" style="background: #228e5d;"><i class="fa fa-check-square"></i></span>'); } $('.off, .on').on('click', function(){ if($(this).hasClass('off')){ $(this).removeClass('off'); $(this).addClass('on'); $(this).css('background', '#228e5d'); $.cookie("scr", 'on'); } else { $(this).removeClass('on'); $(this).addClass('off'); $(this).css('background', '#363636'); $.cookie("scr", 'off'); } }); $('body').append(`<style> .balanceNumber>.balanceValue { background: linear-gradient(103deg, #779aff, #3bffa6); background-size: 200% 200%; animation: AnimationName 5s ease infinite; font-size: 21px; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } @-webkit-keyframes AnimationName { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} } @-moz-keyframes AnimationName { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} } @keyframes AnimationName { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} } </style>`); $('.balanceNumber>.balanceValue').css('transition', '0.5s'); setInterval(zhirniy_huj, zaderzhka); function zhirniy_huj(){ if($.cookie("scr") == 'on'){ $('#ctrl_by_price_to_down').click(); $('#ctrl_by_pdate_to_down').click(); $('#SubmitSearchButton').click(); } }