autoTweet

Twitter Spam bot

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        autoTweet
// @namespace   Twitter
// @include    https://twitter.com/home
// @include    https://twitter.com/home#monkey
// @include    https://twitter.com/intent/tweet*
// @require        http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js
// @version     1
// @run-at document-end
// @grant       none
// @description Twitter Spam bot
// ==/UserScript==

var users 						= new Array();
var usersSubscribed 		= new Array();

var getUsersSwitch 		= 0;
var followUsersSwitch = 0;
var subscribe = 0;

//put your spam here or whatever code you wanna edit
var spamText = " " 

function randomText(length) {
    var result           = '';
    var characters       = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
    var charactersLength = characters.length;
    for ( var i = 0; i < length; i++ ) {
      result += characters.charAt(Math.floor(Math.random() * charactersLength));
   }
   return result;
}

if( window.location.href == "https://twitter.com/home" ){
  window.open('', '_self', '');
  window.close();
}

$(document).ready(function a(){

  if (window.location.href.indexOf("https://twitter.com/intent/tweet") > -1) {
      
    	$('[data-testid="tweetButton"]').click();
    	var cnt = 0;
    	setInterval( function a(){
        	if( cnt > 2 ){
          //window.open('', '_self', '');
          window.close();
          }
        cnt++;

   	 }, 1000);
    	
	}else if( window.location.href.indexOf("https://twitter.com/home#monkey") > -1) {
         
    //for some reason it needs to pause to wait for windows to close
    var windowsOpened = 0;
    setInterval( function a(){
     //alert(3);
      if( getUsersSwitch ){
         if( windowsOpened < 10 ){
            var completeText = spamText + ' ' + randomText( 5 );
            chldWnd = window.open("https://twitter.com/intent/tweet?url=" + completeText );//"&via="
            windowsOpened++;
         }else{
            windowsOpened++;
           if( windowsOpened > 15 ){
             windowsOpened = 0;
           }
         }
      }
			
    }, 1000);

    //var completeText = spamText + ' ' + randomText( 5 );
    //window.open("https://twitter.com/intent/tweet?url=" + completeText );//"&via="

	}else{
    	location.reload();
  	 setInterval( function a(){
     //	window.open('', '_self', '');
  		window.close();

    }, 2000);
  	
  }
});
  

$("body").append("<div id='ControlPanel'>auto Tik Tok Controls</dib>");
$("#ControlPanel").css("position","fixed");
$("#ControlPanel").css("top","100px");
$("#ControlPanel").css("right","100px");
$("#ControlPanel").css("background","grey");

$("#ControlPanel").append("<div id='getUsersDiv'>AutoTweet:</div>");
$("#getUsersDiv").append("<button  type='button' id='getUsersButton'>Off</button>");



	$("#getUsersButton" ).click(function a() {
		if( getUsersSwitch == 0 ){
      getUsersSwitch = 1;
      $("#getUsersButton").text("On");
    }else{
      getUsersSwitch = 0;
      $("#getUsersButton").text("Off");
    }
		
	});



$("#ControlPanel").append("<div id='subscribeToUsersDiv'>Subscribe to Users:</div>");
$("#subscribeToUsersDiv").append("<button  type='button' id='followUsersButton'>Off</button>");



	$("#followUsersButton" ).click(function a() {
		if( followUsersSwitch == 0 ){
      followUsersSwitch = 1;
      $("#followUsersButton").text("On");
    }else{
      followUsersSwitch = 0;
      $("#followUsersButton").text("Off");
    }
		
	});