favEng / Favorileyenleri Engelle 2

// ==UserScript==
// @name         Favorileyenleri Engelle 2
// @namespace    -
// @version      0.3
// @description  Engelle geç!
// @author       -
// @match        https://twitter.com/*
// @grant        GM_xmlhttpRequest
// @license      MIT
// ==/UserScript==
(function () {
  'use strict';

  setInterval(function () {
    let css = document.createElement('style');
    css.innerHTML = `.favEng:hover,.retEng:hover {
      -webkit-filter: grayscale(1);
    };`;
    document.body.appendChild(css);
    document.querySelectorAll('[role="group"]').forEach(function (index, value) {
      if (~index.innerHTML.indexOf("RADIO_GROUP")) {
        return false;
      }
      if (!~index.innerHTML.indexOf("F.Engelle")) {
        let num = -1;
        if (index.parentElement.querySelectorAll('a')[1].querySelector('time') !== null) {
          //return false;
          num = index.parentElement.querySelectorAll('a')[1].querySelector('time').parentElement.href.match(/\/([^\/]+)\/?$/)[1];
        }
        else {
          num = window.location.href.match(/\/([^\/]+)\/?$/)[1];
        }
        let buttonTemplate = document.createElement("div");
        buttonTemplate = index.children[2].cloneNode(true);
        buttonTemplate.children[0].setAttribute('aria-label', "F.Engelle");
        buttonTemplate.children[0].children[0].innerHTML = `<img style="height:1.5em;cursor:pointer" id='` + num + `' class="favEng" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAACXBIWXMAAC4jAAAuIwF4pT92AAAcGUlEQVR4nO2d3XEbudKGQde5l78IpL0i7yRHYG0E5kZgOgLLESwVwdIRmIzgSBFYimDFO/LKYgTHjIBfgX7Hhmj+zA/QaADvU8Xy2lUrDWfQ73Q3Gt29zWZjCKlY9gYXxhj7eW2MucI/V/9WYf/9rONNWxtjnpy/P+Nj8O/f7d/7m8Xzgf+fFAgFq0CWvcEVBOnaESP7OVd6N1aOoNnPgxW0/mbxVOP/JRlBwcqcZW9wDY+o+lxm9o3n8Mi2n/5m8aDgmkggKFgZAc/pCp5TjuJUl0rEHiBi9MQygYKVMBCoa+fTNa+UK2uI1/ZDAUsXClZCLHsDm3caOgKlNeeknZU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jYsyNkKj0xeE6VMF3gzxw940NwWhOgYDkU4m0dYw3x+r7zpwmd2EdC3ECMXu/8mUvuqQ3Fe1UuFKwdCvW2mjKHqLmcErTdEVKveY+PQq9qDxSsA2DCybjwtzuRZ41OHhPe+9+hYB0h4fOIJE2yPgfoAwpWDZBfmTCEIYGYowCUBcAnoGA1gGEi8QzDv4ZQsBqSyLABoh8OJ2kBBaslqJQfZ3Iukcgxg1fFRo0toGB1hMJFakKh8gAFyxMULnIACpVHKFieoXARQKEKAAUrEI5w5dTWhBynavNDoQoEBSswCY6HIs3huDYhKFiCYADnqLBOAznziHbVHIgrBAUrAggXK6+L4WJarB1vimGfMBSsyMDrGvK8onru0X6a3lREKFhKgNc1hNfFM4s6mMObuqM3pQMKlkIoXlGhSCmGgqUcR7yGTNYH49EZmUaRUgwFKyF2xlZds0yiNStnqhDHoiUEBSth0M7ZHWvFHcf9rHfGnrHtcKJQsDLCGXt1jT9LzX/NMTzjIaexZoSClT3olurO78tNxCpxqkaVsWtnxlCwCgSeWDUl+cL5aM2JrTA/sfpYUfpOz6k8KFjkBdiVvHBmAxpH0Cp8zAqsZiBWVGJknJmIz9y1Iz8xxvw/w1+utiLjtd4AAAAASUVORK5CYII=" draggable="false" aria-label="F.Engelle" title="F.Engelle">`;
        buttonTemplate.children[0].children[0].innerHTML += `<img style="height:1.5em;cursor:pointer;margin-left: 3em;" id='` + num + `' class="retEng" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAACXBIWXMAAC4jAAAuIwF4pT92AAAY2ElEQVR4nO2d3XEbR7NABy69UxmI3xPwRjkCMQPxRiA6AtERmIrgUhEYjOBSEXxkBCbegCcTGQgR4NZSPdISxM/uYrunZ/acKpZslU2Ci+2D7t6ZntF6vQ4AkcVochpCqL7ehhDey1/Hv4tUf39y5EVbhRAea//+JF9B/v579e/j9fxpx/8PAwRhDZDFaPJehHRek1H19c7p1VjWhFZ93VdCG6/njw3+XygIhFU4i9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D6IE3GSQwgq+ZxT1wUzk9fw1FIGJoM5rXzmX/7sY9Oy1wQorIvOKPG9Y7YMosKrP8VhKv0P6UPGrVEHV+eL1+C0rBi+sUE5Dvi0PIrCnmshcZmKSOUUxncqfJWbGu+C0JgFh1RhItrWPlcjr+8afQbuxLw3xIDJ6u/FnKb2nLgw+q6qDsDYYaLbVlplIrc4hoW0eIfWWa7wXsqotIKwdyAkn1wP/dAd7VjLJ44Zr/xqEtYeM9yNCnhS9D7APEFYDpL9yQwkDSsxkASgLgA+AsFpAmQg9Q/nXEoTVkkwOGwD/cDhJBxBWR2Sl/HUh+xLBjlvJqhjU2AGEdSSICxqCqHoAYfUE4oIdIKoeQVg9g7hAQFQKICwlauIqaawJ7CeO+UFUSiAsZTI8Hgraw3FtRiAsQ+QAzsuBTRoomQcZV82BuEYgrARIuRizLsrFvFjVsinKPmMQVmIk67pgv6J7vsn4abKphCAsJ0jWdSFZF3sWfTCTbOqObMoHCMshyCspSMoxCMs5NXld0KxX46F2ZBqScgzCyoiNY6vOWSbRmWXtVCGORcsIhJUxMs65fqwVTxy3s9o49oyxw5mCsAqiduzVufw51P7XTA7PuC/pWDNAWMUj01Lr5/eVJrEop3hUGVM7CwZhDRDJxOIpyae1L689saWcnxi/Kil9J3MaHggLXiBPJU9rZwOGmtAifZwVGM9AjEQZhdqZiE88tYOfhBD+H2mhXE2DfwS/AAAAAElFTkSuQmCC" draggable="false" aria-label="R.Engelle" title="R.Engelle">`;
        index.insertAdjacentHTML('beforeend', buttonTemplate.outerHTML);
      }
    });
    var classname = document.getElementsByClassName("favEng");
    for (let i = 0; i < classname.length; i++) {
      if (!classname[i].classList.contains("already")) {
        classname[i].addEventListener('click', favEng.bind(this, classname[i].id, false), false);
        classname[i].classList.add("already");
      }
    };
    classname = document.getElementsByClassName("retEng");
    for (let i = 0; i < classname.length; i++) {
      if (!classname[i].classList.contains("already")) {
        classname[i].addEventListener('click', retEng.bind(this, classname[i].id, false), false);
        classname[i].classList.add("already");
      }
    };
  }, 2500);

  window.favEng = function (num, more) {
    GM_xmlhttpRequest({
      method: "GET",
      url: "https://api.twitter.com/2/timeline/liked_by.json?include_profile_interstitial_type=1&include_blocking=1&include_blocked_by=1&include_followed_by=1&include_want_retweets=1&include_mute_edge=1&include_can_dm=1&include_can_media_tag=1&skip_status=1&cards_platform=Web-12&include_cards=1&include_composer_source=true&include_ext_alt_text=true&include_reply_count=1&tweet_mode=extended&include_entities=true&include_user_entities=true&include_ext_media_color=true&include_ext_media_availability=true&send_error_codes=true&tweet_id=" + num + "&count=80&ext=mediaStats%2ChighlightedLabel%2CcameraMoment",
      headers: {
        referer: window.location.href + "/likes",
        'Authorization': 'Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA',
        'x-csrf-token': getCookieValue("ct0"),
        'x-twitter-active-user': 'yes',
        'x-twitter-auth-type': 'OAuth2Session',
        'x-twitter-client-language': 'tr',
      },
      onload: function (response) {
        let data = JSON.parse(this.responseText);
        let keys = Object.keys(data.globalObjects.users);
        if (keys.length < 1)
          return false;
        var users = [];
        for (let i = 0; i < keys.length; i++) {
          users.push({
            userName: data.globalObjects.users[keys[i]].screen_name,
            id: data.globalObjects.users[keys[i]].id_str,
            realName: data.globalObjects.users[keys[i]].name,
            toString: function () {
              return '@' + this.userName + '       :       ' + this.realName;
            }
          });
        };
        if (more) {
          justDo(users, num);
          favEng(num, true);
        }
        else if (confirm("Aşağıdakiler engellensin mi?\n" + users.join("\n"))) {
          justDo(users, num);
        }
      }
    })
  };

  function justDo(users, num) {
    users.forEach(function (element) {
      sendBlockRequest(element.id, element.userName);
      sendMuteRequest(element.id, element.userName);
    });
    //favEng(num, true);
  }

  window.retEng = function (num, more) {
    GM_xmlhttpRequest({
      method: "GET",
      url: "https://api.twitter.com/2/timeline/retweeted_by.json?include_profile_interstitial_type=1&include_blocking=1&include_blocked_by=1&include_followed_by=1&include_want_retweets=1&include_mute_edge=1&include_can_dm=1&include_can_media_tag=1&skip_status=1&cards_platform=Web-12&include_cards=1&include_composer_source=true&include_ext_alt_text=true&include_reply_count=1&tweet_mode=extended&include_entities=true&include_user_entities=true&include_ext_media_color=true&include_ext_media_availability=true&send_error_codes=true&tweet_id=" + num + "&count=80&ext=mediaStats%2ChighlightedLabel%2CcameraMoment",
      headers: {
        referer: window.location.href + "/likes",
        'Authorization': 'Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA',
        'x-csrf-token': getCookieValue("ct0"),
        'x-twitter-active-user': 'yes',
        'x-twitter-auth-type': 'OAuth2Session',
        'x-twitter-client-language': 'tr',
      },
      onload: function (response) {
        let data = JSON.parse(this.responseText);
        let keys = Object.keys(data.globalObjects.users);
        if (keys.length < 1)
          return false;
        var users = [];
        for (let i = 0; i < keys.length; i++) {
          users.push({
            userName: data.globalObjects.users[keys[i]].screen_name,
            id: data.globalObjects.users[keys[i]].id_str,
            realName: data.globalObjects.users[keys[i]].name,
            toString: function () {
              return '@' + this.userName + '       :       ' + this.realName;
            }
          });
        };
        if (more) {
          justDo2(users, num);
          retEng(num, true);
        }
        else if (confirm("Aşağıdakiler engellensin mi?\n" + users.join("\n"))) {
          justDo2(users, num);
        }
      }
    })
  };

  function justDo2(users, num) {
    users.forEach(function (element) {
      sendBlockRequest(element.id, element.username);
      sendMuteRequest(element.id, element.username);
    });
    //retEng(num, true);
  }

  function sendBlockRequest(userId, userName) {
    GM_xmlhttpRequest({
      method: "POST",
      url: "https://api.twitter.com/1.1/blocks/create.json",
      data: "user_id=" + userId,
      headers: {
        referer: "https://twitter.com/" + userName,
        'Authorization': 'Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA',
        'content-type': 'application/x-www-form-urlencoded',
        'x-csrf-token': getCookieValue("ct0"),
        'x-twitter-active-user': 'yes',
        'x-twitter-auth-type': 'OAuth2Session',
        'x-twitter-client-language': 'tr',
      }
    });
  }

  function sendMuteRequest(userId, userName) {
    GM_xmlhttpRequest({
      method: "POST",
      url: "https://api.twitter.com/1.1/mutes/users/create.json",
      data: "id=" + userId,
      headers: {
        referer: "https://twitter.com/" + userName,
        'Authorization': 'Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA',
        'content-type': 'application/x-www-form-urlencoded',
        'x-csrf-token': getCookieValue("ct0"),
        'x-twitter-active-user': 'yes',
        'x-twitter-auth-type': 'OAuth2Session',
        'x-twitter-client-language': 'tr',
      }
    });
  }

  function getCookieValue(a) {
    var b = document.cookie.match('(^|[^;]+)\\s*' + a + '\\s*=\\s*([^;]+)');
    return b ? b.pop() : '';
  }

})();