I_FollowYou

Follow

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.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

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         I_FollowYou
// @namespace    http://tampermonkey.net/
// @version      0.0.3
// @description  Follow
// @author       gavelweb
// @match        https://www.instagram.com/*
// @grant        none
// ==/UserScript==

window.addEventListener('DOMContentLoaded', function() {
  setInterval(function() {
    var elArrButtons = [];
    var filterArrButtons = [];
    elArrButtons = document.getElementsByClassName('L3NKy');
    for (var c = 0; c <= elArrButtons.length - 1; c++) {
      var x = elArrButtons[c].classList;
      x = x.value.split(" ");
      if (x[6] != '_8A5w5') {
        filterArrButtons.push(elArrButtons[c]);
      }
    }
    for (var x = 0; x <= filterArrButtons.length - 1; x++) {
      var df = filterArrButtons[x].classList;
      df = df.value.split(" ");
      simulateCliks(filterArrButtons[x], "click");
    }
  }, 10000);

});

function simulateCliks(el, evntType) {
  if (el.fireEvent) {
    el.fireEvent('on' + evntType);
  } else {
    var evObj = document.createEvent('Events');
    evObj.initEvent(evntType, true, false);
    el.dispatchEvent(evObj);
  }
}