Greasy Fork

Greasy Fork is available in English.

steam评测舔狗脚本

如果不是真的喜欢,谁又愿意当个舔狗呢

目前为 2018-10-22 提交的版本,查看 最新版本

// ==UserScript==
// @name         steam评测舔狗脚本
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  如果不是真的喜欢,谁又愿意当个舔狗呢
// @author       You
// @match        https://steamcommunity.com/profiles/*/recommended*
// @match        http://steamcommunity.com/profiles/*/recommended*
// @match        http://steamcommunity.com/id/*/recommended*
// @match        https://steamcommunity.com/id/*/recommended*
// @grant        none
// ==/UserScript==
var a1= /UserReviewVoteUp([\w\W]*)/;
var b1 = a1.exec(document.documentElement.outerHTML)[0].slice(19,27)
var b2 = a1.exec(document.documentElement.outerHTML)[0].slice(23)
var c1
function next(){
    try{
        c1 = a1.exec(b2)[0].slice(19,27)
        b2 = a1.exec(b2)[0].slice(23)
    }catch(e){}
}
UserReviewVoteUp(b1)
for (var i=2;i<=10;i++){
    try{
        next()
        UserReviewVoteUp(c1)
    }catch(e){}
}