Greasy Fork

Greasy Fork is available in English.

QQ空间自动点赞

QQ空间自动点赞,6秒刷新一次

当前为 2016-08-11 提交的版本,查看 最新版本

// ==UserScript==
// @name        QQ空间自动点赞
// @namespace   firefox
// @include     http://user.qzone.qq.com/*
// @version     1.3
// @run-at document-end
// @description QQ空间自动点赞,6秒刷新一次
// ==/UserScript==

function zan()
{
	jQuery("a.qz_like_btn_v3[data-clicklog='like']").each(function(index,item){
		console.log(item);
		jQuery(item).trigger('click');
	});
	jQuery(window).scroll(function(){
		jQuery("a.qz_like_btn_v3[data-clicklog='like']").each(function(index,item){
			jQuery(item).trigger('click');
		}); 
		return true;
	});
	jQuery("#feed_tab_all").each(function(index,item){
			jQuery(item).trigger('click');
		});
	console.log(Date());
}

setInterval("zan()",6000);