Instagram自动关注者jquery

时间:2017-07-07 16:41:56

标签: javascript jquery instagram

enter image description here此脚本正在检查页面中的“关注”按钮。如果可用,则触发Instagram页面中的所有“关注”按钮。 我只需要为经过验证的用户使用此代码。意味着我只需要关注经过验证的用户。 对于已验证的用户,将有一个蓝色勾号图标。基于该图标,代码需要找到具有“._6jvgy”的主块div的子元素中可用的类“coreSpriteVerifiedBadge”  ...。 如何使用跟随文本添加用于查找上述类和按钮的代码,然后仅触发“关注”按钮。 请帮忙。

var jq = document.createElement('script');
jq.src = "https://code.jquery.com/jquery-3.1.1.slim.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
jQuery.noConflict();
__cnt__=0; jQuery('button').each(function (i, ele) {
ele = jQuery(ele);
if (ele.text()!='Follow') {
console.log('already following:', i);
return;}
setTimeout(function () {
ele.click();
},
 __cnt__++*Math.floor((Math.random() * 4152) + 2193)); });

0 个答案:

没有答案
相关问题