ವೈಯಕ್ತಿಕ ಫಾಲೋ / ಫಾಲೋ ಬಟನ್ಗಳನ್ನು ಕ್ಲಿಕ್ ಮಾಡುವ ತೊಂದರೆಯಿಲ್ಲದೆ ಟ್ವಿಟರ್ನಲ್ಲಿ ಜನರನ್ನು ಆಕ್ರಮಣಕಾರಿಯಾಗಿ ಅನುಸರಿಸಲು ಅಥವಾ ಅನುಸರಿಸದಿರಲು ಎಂದಾದರೂ ಬಯಸಿದ್ದೀರಾ? ಟ್ವಿಟ್ಟರ್ನಲ್ಲಿ ಜನರನ್ನು ಅನುಸರಿಸಲು ಅಥವಾ ಸಾಮೂಹಿಕವಾಗಿ ಅನುಸರಿಸದಿರುವ ಕೋಡ್ಗಳನ್ನು ನೀವು ಕೆಳಗೆ ನೀಡಲಾಗಿದೆ. ಆದರೆ ನಿಮ್ಮ ವೈಯಕ್ತಿಕ ಬಳಕೆ / ಪರೀಕ್ಷೆಗಾಗಿ ಈ ಟ್ವಿಟ್ಟರ್ ಫಾಲೋ / ಫಾಲೋ ಸ್ಕ್ರಿಪ್ಟ್ಗಳನ್ನು ಬಳಸಲು ಮರೆಯದಿರಿ ಮತ್ತು ಟ್ವಿಟರ್ ಹಕ್ಕುಗಳನ್ನು ಗೌರವಿಸಿ.
ಟ್ವಿಟರ್ ಮಾಸ್ ಸ್ಕ್ರಿಪ್ಟ್ ಅನ್ನು ಅನುಸರಿಸುತ್ತದೆ
ಟ್ವಿಟರ್ ಮಾಸ್ ಫಾಲೋ ಸ್ಕ್ರಿಪ್ಟ್ ಅನ್ನು ಚಲಾಯಿಸಲು ನೀವು Chrome ಬ್ರೌಸರ್ ಅನ್ನು ಬಳಸಬೇಕಾಗುತ್ತದೆ.
- ಓಪನ್ ಟ್ವಿಟರ್ ಮತ್ತು ನಿಮ್ಮ ಖಾತೆಗೆ ಲಾಗಿನ್ ಮಾಡಿ.
- ಯಾರೊಬ್ಬರ ಪ್ರೊಫೈಲ್ ತೆರೆಯಿರಿ.
- ಅನುಯಾಯಿಗಳ ಮೇಲೆ ಕ್ಲಿಕ್ ಮಾಡಿ ಮತ್ತು ನೀವು ಆಯ್ಕೆ ಮಾಡಿದ ಪ್ರೊಫೈಲ್ ಅನ್ನು ಅನುಸರಿಸುತ್ತಿರುವ ಜನರ ಪಟ್ಟಿಯನ್ನು ನೀವು ನೋಡುತ್ತೀರಿ.
- ಪಟ್ಟಿಗೆ ಹೆಚ್ಚಿನ ಪ್ರೊಫೈಲ್ಗಳನ್ನು ಲೋಡ್ ಮಾಡಲು ಕೆಲವು ಬಾರಿ ಕೆಳಗೆ ಸ್ಕ್ರಾಲ್ ಮಾಡಿ.
- ಪತ್ರಿಕೆಗಳು SHIFT + CTRL + I (ವಿಂಡೋಸ್) ಅಥವಾ CMD + OPT + I (Mac) ನಿಮ್ಮ ಕೀಬೋರ್ಡ್ನಲ್ಲಿ ಅಥವಾ ಬ್ರೌಸರ್ನಲ್ಲಿ ಎಲ್ಲಿಯಾದರೂ ಬಲ ಕ್ಲಿಕ್ ಮಾಡಿ ಮತ್ತು "ಎಲಿಮೆಂಟ್ ಅನ್ನು ಪರೀಕ್ಷಿಸಿ" ಆಯ್ಕೆಮಾಡಿ ಅಥವಾ ನಿಮ್ಮ ಬ್ರೌಸರ್ ವಿಂಡೋದ ಮೇಲಿನ ಬಲ ಮೂಲೆಯಲ್ಲಿರುವ Chrome ಮೆನು ಐಕಾನ್ ಅನ್ನು ಕ್ಲಿಕ್ ಮಾಡಿ ಮತ್ತು ನಂತರ ಇಲ್ಲಿಗೆ ಹೋಗಿ ಹೆಚ್ಚಿನ ಪರಿಕರಗಳು> ಡೆವಲಪರ್ ಪರಿಕರಗಳು.
- "ಕನ್ಸೋಲ್" ಟ್ಯಾಬ್ ಆಯ್ಕೆಮಾಡಿ.
- ಕನ್ಸೋಲ್ ಮಾಡಲು ಕೆಳಗಿನ ಕೋಡ್ ಅನ್ನು ನಕಲಿಸಿ ಮತ್ತು ಅಂಟಿಸಿ ಮತ್ತು "Enter" ಒತ್ತಿರಿ.
let btns = document.querySelectorAll("[data-testid]")
let followBtns = Array.from(btns).filter(btn => {
return btn.getAttribute('data-testid').includes('follow')
})
for (let i = 1; i <= followBtns.length; i++) {
setTimeout(() => {
followBtns[i - 1].click()
}, 1000 * i);
}
ಟ್ವಿಟರ್ ಸಾಮೂಹಿಕ ಸ್ಕ್ರಿಪ್ಟ್ ಅನ್ನು ಅನುಸರಿಸಬೇಡಿ
ಟ್ವಿಟರ್ ಮಾಸ್ ಅನುಸರಿಸದ ಸ್ಕ್ರಿಪ್ಟ್ ಅನ್ನು ಚಲಾಯಿಸಲು ನೀವು Chrome ಬ್ರೌಸರ್ ಅನ್ನು ಬಳಸಬೇಕಾಗುತ್ತದೆ.
- ಓಪನ್ ಟ್ವಿಟರ್ ಮತ್ತು ನಿಮ್ಮ ಖಾತೆಗೆ ಲಾಗಿನ್ ಮಾಡಿ.
- ಅನುಸರಿಸಿ ಕ್ಲಿಕ್ ಮಾಡಿ ಮತ್ತು ನೀವು ಅನುಸರಿಸುತ್ತಿರುವ ಜನರ ಪಟ್ಟಿಯನ್ನು ನೀವು ನೋಡುತ್ತೀರಿ.
- ಪಟ್ಟಿಗೆ ಹೆಚ್ಚಿನ ಪ್ರೊಫೈಲ್ಗಳನ್ನು ಲೋಡ್ ಮಾಡಲು ಕೆಲವು ಬಾರಿ ಕೆಳಗೆ ಸ್ಕ್ರಾಲ್ ಮಾಡಿ.
- ಪತ್ರಿಕೆಗಳು SHIFT + CTRL + I (ವಿಂಡೋಸ್) ಅಥವಾ CMD + OPT + I (Mac) ನಿಮ್ಮ ಕೀಬೋರ್ಡ್ನಲ್ಲಿ ಅಥವಾ ಬ್ರೌಸರ್ನಲ್ಲಿ ಎಲ್ಲಿಯಾದರೂ ಬಲ ಕ್ಲಿಕ್ ಮಾಡಿ ಮತ್ತು "ಎಲಿಮೆಂಟ್ ಅನ್ನು ಪರೀಕ್ಷಿಸಿ" ಆಯ್ಕೆಮಾಡಿ ಅಥವಾ ನಿಮ್ಮ ಬ್ರೌಸರ್ ವಿಂಡೋದ ಮೇಲಿನ ಬಲ ಮೂಲೆಯಲ್ಲಿರುವ Chrome ಮೆನು ಐಕಾನ್ ಅನ್ನು ಕ್ಲಿಕ್ ಮಾಡಿ ಮತ್ತು ನಂತರ ಇಲ್ಲಿಗೆ ಹೋಗಿ ಹೆಚ್ಚಿನ ಪರಿಕರಗಳು> ಡೆವಲಪರ್ ಪರಿಕರಗಳು
- "ಕನ್ಸೋಲ್" ಟ್ಯಾಬ್ ಆಯ್ಕೆಮಾಡಿ.
ಎ. ಹಿಂದೆ ಅನುಸರಿಸದವರನ್ನು ಅನುಸರಿಸಬೇಡಿ
ನಿಮ್ಮನ್ನು ಹಿಂಬಾಲಿಸದ ಎಲ್ಲ ಜನರನ್ನು ಅನುಸರಿಸುವುದನ್ನು ರದ್ದುಗೊಳಿಸಲು, ನಂತರ ಕನ್ಸೋಲ್ ಮಾಡಲು ಕೆಳಗಿನ ಕೋಡ್ ಅನ್ನು ನಕಲಿಸಿ ಮತ್ತು ಅಂಟಿಸಿ ಮತ್ತು "Enter" ಒತ್ತಿರಿ.
var LANGUAGE = "EN"; //NOTE: change it to use your language!
var WORDS =
{
//English language:
EN:
{
followsYouText: "Follows you", //Text that informs that follows you.
followingButtonText: "Following", //Text of the "Following" button.
confirmationButtonText: "Unfollow" //Text of the confirmation button. I am not totally sure.
},
//Spanish language:
ES:
{
followsYouText: "Te sigue", //Text that informs that follows you.
followingButtonText: "Siguiendo", //Text of the "Following" button.
confirmationButtonText: "Dejar de seguir" //Text of the confirmation button. I am not totally sure.
}
//NOTE: if needed, add your language here...
}
var UNFOLLOW_FOLLOWERS = false; //If set to true, it will also remove followers (unless they are skipped).
var MS_PER_CYCLE = 10; //Milliseconds per cycle (each call to 'performUnfollow').
var MAXIMUM_UNFOLLOW_ACTIONS_PER_CYCLE = null; //Maximum of unfollow actions to perform, per cycle (each call to 'performUnfollow'). Set to 'null' to have no limit.
var MAXIMUM_UNFOLLOW_ACTIONS_TOTAL = null; //Maximum of unfollow actions to perform, in total (among all calls to 'performUnfollow'). Set to 'null' to have no limit.
var SKIP_USERS = //Users that we do not want to unfollow (even if they are not following you back):
[
//Place the user names that you want to skip here (they will not be unfollowed):
"user_name_to_skip_example_1",
"user_name_to_skip_example_2",
"user_name_to_skip_example_3"
];
SKIP_USERS.forEach(function(value, index) { SKIP_USERS[index] = value.toLowerCase(); }); //Transforms all the user names to lower case as it will be case insensitive.
var _UNFOLLOWED_TOTAL = 0; //Keeps the number of total unfollow actions performed. Read-only (do not modify).
//Function that unfollows non-followers on Twitter:
var performUnfollow = function(followsYouText, followingButtonText, confirmationButtonText, unfollowFollowers, maximumUnfollowActionsPerCycle, maximumUnfollowActionsTotal)
{
var unfollowed = 0;
followsYouText = followsYouText || WORDS.EN.followsYouText; //Text that informs that follows you.
followingButtonText = followingButtonText || WORDS.EN.followingButtonText; //Text of the "Following" button.
confirmationButtonText = confirmationButtonText || WORDS.EN.confirmationButtonText; //Text of the confirmation button.
unfollowFollowers = typeof(unfollowFollowers) === "undefined" || unfollowFollowers === null ? UNFOLLOW_FOLLOWERS : unfollowFollowers;
maximumUnfollowActionsTotal = maximumUnfollowActionsTotal === null || !isNaN(parseInt(maximumUnfollowActionsTotal)) ? maximumUnfollowActionsTotal : MAXIMUM_UNFOLLOW_ACTIONS_TOTAL || null;
maximumUnfollowActionsTotal = !isNaN(parseInt(maximumUnfollowActionsTotal)) ? parseInt(maximumUnfollowActionsTotal) : null;
maximumUnfollowActionsPerCycle = maximumUnfollowActionsPerCycle === null || !isNaN(parseInt(maximumUnfollowActionsPerCycle)) ? maximumUnfollowActionsPerCycle : MAXIMUM_UNFOLLOW_ACTIONS_PER_CYCLE || null;
maximumUnfollowActionsPerCycle = !isNaN(parseInt(maximumUnfollowActionsPerCycle)) ? parseInt(maximumUnfollowActionsPerCycle) : null;
//Looks through all the containers of each user:
var totalLimitReached = false;
var localLimitReached = false;
var userContainers = document.querySelectorAll('[data-testid=UserCell]');
Array.prototype.filter.call
(
userContainers,
function(userContainer)
{
//If we have reached a limit previously, exits silently:
if (totalLimitReached || localLimitReached) { return; }
//If we have reached the maximum desired number of total unfollow actions, exits:
else if (maximumUnfollowActionsTotal !== null && _UNFOLLOWED_TOTAL >= maximumUnfollowActionsTotal) { console.log("Exiting! Limit of unfollow actions in total reached: " + maximumUnfollowActionsTotal); totalLimitReached = true; return; }
//...otherwise, if we have reached the maximum desired number of local unfollow actions, exits:
else if (maximumUnfollowActionsPerCycle !== null && unfollowed >= maximumUnfollowActionsPerCycle) { console.log("Exiting! Limit of unfollow actions per cycle reached: " + maximumUnfollowActionsPerCycle); localLimitReached = true; return; }
//Checks whether the user is following you:
if (!unfollowFollowers)
{
var followsYou = false;
Array.from(userContainer.querySelectorAll("*")).find
(
function(element)
{
if (element.textContent === followsYouText) { followsYou = true; }
}
);
}
else { followsYou = false; } //If we want to also unfollow followers, we consider it is not a follower.
//If the user is not following you (or we also want to unfollow followers):
if (!followsYou)
{
//Finds the user name and checks whether we want to skip this user or not:
var skipUser = false;
var userName = "";
Array.from(userContainer.querySelectorAll("[href^='/']")).find
(
function (element)
{
if (skipUser) { return; }
if (element.href.indexOf("search?q=") !== -1 || element.href.indexOf("/") === -1) { return; }
userName = element.href.substring(element.href.lastIndexOf("/") + 1).toLowerCase();
Array.from(element.querySelectorAll("*")).find
(
function (subElement)
{
if (subElement.textContent.toLowerCase() === "@" + userName)
{
if (SKIP_USERS.indexOf(userName) !== -1)
{
console.log("We want to skip: " + userName);
skipUser = true;
}
}
}
);
}
);
//If we do not want to skip the user:
if (!skipUser)
{
//Finds the unfollow button:
Array.from(userContainer.querySelectorAll('[role=button]')).find
(
function(element)
{
//If the unfollow button is found, clicks it:
if (element.textContent === followingButtonText)
{
console.log("* Unfollowing: " + userName);
element.click();
unfollowed++;
_UNFOLLOWED_TOTAL++;
}
}
);
}
}
}
);
//If there is a confirmation dialog, press it automatically:
Array.from(document.querySelectorAll('[role=button]')).find //Finds the confirmation button.
(
function(element)
{
//If the confirmation button is found, clicks it:
if (element.textContent === confirmationButtonText)
{
element.click();
}
}
);
return totalLimitReached ? null : unfollowed; //If the total limit has been reached, returns null. Otherwise, returns the number of unfollowed people.
}
//Scrolls and unfollows non-followers, constantly:
var scrollAndUnfollow = function()
{
window.scrollTo(0, document.body.scrollHeight);
var unfollowed = performUnfollow(WORDS[LANGUAGE].followsYouText, WORDS[LANGUAGE].followingButtonText, WORDS[LANGUAGE].confirmationButtonText, UNFOLLOW_FOLLOWERS, MAXIMUM_UNFOLLOW_ACTIONS_PER_CYCLE, MAXIMUM_UNFOLLOW_ACTIONS_TOTAL); //For English, you can try to call it without parameters.
if (unfollowed !== null) { setTimeout(scrollAndUnfollow, MS_PER_CYCLE); }
else { console.log("Total desired of unfollow actions performed!"); }
};
scrollAndUnfollow();
ಬೌ. ಎಲ್ಲವನ್ನೂ ಅನುಸರಿಸಬೇಡಿ
ನೀವು ಅನುಸರಿಸುತ್ತಿರುವ ಎಲ್ಲ ಜನರನ್ನು ಅನ್ಫಾಲೋ ಮಾಡಲು, ನಂತರ ಕನ್ಸೋಲ್ ಮಾಡಲು ಕೆಳಗಿನ ಕೋಡ್ ಅನ್ನು ನಕಲಿಸಿ ಮತ್ತು ಅಂಟಿಸಿ ಮತ್ತು "Enter" ಒತ್ತಿರಿ.
(() => {
const $followButtons = '[data-testid$="-unfollow"]';
const $confirmButton = '[data-testid="confirmationSheetConfirm"]';
const retry = {
count: 0,
limit: 3,
};
const scrollToTheBottom = () => window.scrollTo(0, document.body.scrollHeight);
const retryLimitReached = () => retry.count === retry.limit;
const addNewRetry = () => retry.count++;
const sleep = ({ seconds }) =>
new Promise((proceed) => {
console.log(`WAITING FOR ${seconds} SECONDS...`);
setTimeout(proceed, seconds * 1000);
});
const unfollowAll = async (followButtons) => {
console.log(`UNFOLLOWING ${followButtons.length} USERS...`);
await Promise.all(
followButtons.map(async (followButton) => {
followButton && followButton.click();
await sleep({ seconds: 1 });
const confirmButton = document.querySelector($confirmButton);
confirmButton && confirmButton.click();
})
);
};
const nextBatch = async () => {
scrollToTheBottom();
await sleep({ seconds: 1 });
const followButtons = Array.from(document.querySelectorAll($followButtons));
const followButtonsWereFound = followButtons.length > 0;
if (followButtonsWereFound) {
await unfollowAll(followButtons);
await sleep({ seconds: 2 });
return nextBatch();
} else {
addNewRetry();
}
if (retryLimitReached()) {
console.log(`NO ACCOUNTS FOUND, SO I THINK WE'RE DONE`);
console.log(`RELOAD PAGE AND RE-RUN SCRIPT IF ANY WERE MISSED`);
} else {
await sleep({ seconds: 2 });
return nextBatch();
}
};
nextBatch();
})();
ನಾನು ಹುಡುಕುತ್ತಿರುವುದನ್ನು ನಿಖರವಾಗಿ ಧನ್ಯವಾದಗಳು.
ಇದು ಉತ್ತಮ ಮಾಹಿತಿಯಾಗಿದೆ. ನೀವು ಅನುಸರಿಸದಿರುವ ನಿಯಮಗಳನ್ನು ಉಲ್ಲಂಘಿಸುವ ಮೊದಲು ದೈನಂದಿನ ಅನುಸರಿಸದಿರುವ ಸಂಖ್ಯೆ ಯಾವುದು.
ಅದ್ಭುತ!
ಚೆನ್ನಾಗಿದೆ ವಿಕ್ಟರ್! ಇದು ಕೆಲಸ ಮಾಡಿತು. Twitter ನಲ್ಲಿ ನಿಷ್ಕ್ರಿಯ ಹ್ಯಾಂಡಲ್ಗಳನ್ನು ಅನುಸರಿಸದಿರಲು ಯಾವುದೇ ಸಲಹೆಗಳು? ಅಂದರೆ 2 ವರ್ಷ ಅಥವಾ ಅದಕ್ಕಿಂತ ಹೆಚ್ಚು ಕಾಲ ಟ್ವೀಟ್ ಮಾಡದ ಹ್ಯಾಂಡಲ್ಗಳು? ನಿಮ್ಮ ಪ್ರತಿಕ್ರಿಯೆಯನ್ನು ನಾನು ಪ್ರಶಂಸಿಸುತ್ತೇನೆ. ನಾನು ಮತ್ತೆ ಪರಿಶೀಲಿಸುತ್ತಲೇ ಇರುತ್ತೇನೆ.