Jike Auto Click Like

即刻网页版滚动时会对页面所有内容点赞

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         Jike Auto Click Like
// @namespace    JikeWebAutoClickLike
// @version      0.3
// @description  即刻网页版滚动时会对页面所有内容点赞
// @author       liuxsdev(@即刻:秋犯)
// @match        https://web.okjike.com/*
// @run-at       document-end
// @homepage     https://gist.github.com/liuxsdev/15243c150e268da74aae655843cbcde1
// @license      The MIT License (MIT); http://opensource.org/licenses/MIT
// ==/UserScript==

(function() {
    'use strict';
    document.body.onmousewheel=function(){
        var selector = 'div.flex.items-center.justify-center.w-5.h-5:not(.text-tint-warming)'
        var zan = document.querySelectorAll(selector)
        zan.forEach(function(item,index){
            var p=item.parentElement;
            p.click();
        })
    }
})();