Acfun自动5蕉原生版

Acfun自动投5蕉,暂时只有视频

As of 2016-09-04 11:38:42 UTC. See the latest version.

// ==UserScript==
// @name         Acfun自动5蕉原生版
// @namespace    https://greasyfork.org/users/63665
// @homepage     https://greasyfork.org/scripts/22904
// @version      0.0.2
// @description  Acfun自动投5蕉,暂时只有视频
// @author       me
// @match        http://www.acfun.tv/v/*
// @match        http://www.aixifan.com/v/*
// @grant        none
// @icon         http://cdn.aixifan.com/ico/favicon.ico
// @run-at       document-end
// ==/UserScript==

/*
window.setTimeout(function(){
    a = $$("#btn-banana-toolbar");
    n = a.find("div.panel");
    t = n.find("div.bn");
    t[4].click();
    console.log('test');
},5000);
*/

(function(){
    a = $$("#btn-banana-toolbar");
    n = a.find("div.panel");
    t = n.find("div.bn");
    t[4].click();
}());