您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Simple CSGO-Lounge Autobumper all 300 seconds
- // ==UserScript==
- // @name CSGO Lounge Autobumper
- // @description Simple CSGO-Lounge Autobumper all 300 seconds
- // @include http://csgolounge.com/mytrades*
- // @include https://csgolounge.com/mytrades*
- // @version 1.01
- // @grant none
- // @copyright 2015, Alucard
- // @namespace https://greasyfork.org/users/12716
- // ==/UserScript==
- function autobump(){
- var y = 0;
- for (var x = 0; x < document.getElementsByClassName("buttonright").length; x++){
- if(document.getElementsByClassName("buttonright")[x].innerHTML.search("Bump") > 0){
- var tradenr = document.getElementsByClassName("buttonright")[x].getAttribute('onclick');
- tradenr = tradenr.split("'")[1];
- $(document.getElementsByClassName("buttonright")[x]).hide();
- bumpTrade(tradenr);
- y++;
- }
- }
- timer = new Date();
- document.getElementById('follow').innerHTML += '<div id=autobumpnote style=color:white; width=100% align=center><br>Last Autobump: ' + timer.getHours() + ':' + (timer.getMinutes()<10?'0':'') + timer.getMinutes() + '<br>' + y + ' Trades bumped</div>';
- setTimeout(function(){window.location.href=location.href;},300000)
- }
- autobump();