Bluesky Account Finder for Twitter (Script Edition)
here's what the extension looks like btw https://chromewebstore.google.com/detail/bluesky-account-finder-fo/copkfihlldjjedifhdgkgdnijkipgdel
.
thats actually extremely easy, i could do it later if you want?
yes please i would love you too
*to
// ==UserScript==
// @name Bsky Finder
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Adds Bsky link to Twitter/X usernames if they exist on Bsky.
// @author Your Name
// @match https://twitter.com/*
// @match https://x.com/*
// @grant none
// @run-at document-end
// ==/UserScript==
function checkForAtSymbol(nodes) {
nodes.forEach(node => {
if (node.nodeType === Node.ELEMENT_NODE && node.textContent.includes("@") && !node.textContent.includes(" ")) {
const textParts = node.textContent.split("@");
const processedIds = new Set();
for (let i = 1; i < textParts.length; i++) {
const part = textParts[i].trim().split(" ")[0];
if (processedIds.has(part)) {
continue;
}
const existingImage = node.querySelector(`.inline-at-icon[data-at="${part}"]`);
if (existingImage) {
processedIds.add(part);
continue;
}
const link = document.createElement('a');
link.href = `https://bsky.app/profile/${part}.bsky.social`;
link.target = '_blank';
link.style.display = 'inline-block';
link.style.width = '10px';
link.style.height = '10px';
link.style.marginLeft = '2px';
link.className = 'inline-at-icon';
link.setAttribute('data-at', part);
const image = new Image();
image.src = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAwXpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjabVDBEQMhCPxTRUpQFj0tx0suM+kg5QcFb84kO+OCrK4IHe/Xk24dHIUkbSXXnINCqlRumpRgaINjkMEDU9L9UqdTYC1BI/xC9vOzHk8DC02zdDW6u7CvQhX3L19GbAG9o54/3Ki6EdiE6AbNvhVyLdv1C/sRVhRb1EnK2vbPftPpPZK+A+YDEUEZEGsAfQmhjaRz1YMRorkgKSfMTnQg/+Y0QR/rMlkexQtSXgAAAYVpQ0NQSUNDIHByb2ZpbGUAAHicfZE9SMNAHMVfU4sfVBzsICKYoYqDXVTEsVSxCBZKW6FVB5NLv6BJQ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KFdpbmRvd3MpIgogICAgICBzdEV2dDp3aGVuPSIyMDI0LTAyLTA5VDE0OjQ1OjU0Ii8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/PiHAVLwAAAAGYktHRAAiAHQAR/kC06QAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfoAgkFLTbYUCI4AAAQ4UlEQVR42u2de5SdVXmHn3d/M5NkcpkzJwMk4Sq6WAGkFBGVorYi6IICWqAgSgksVyxFvKNkbpHMZM6ZFKEuA7ZUkYJdBRZ4owLKpSBS8AIC9VprIAomkElOziTjZDIz3/71j3MCIZnJ3M7l+w7fs9b8k3PJPt/72+9+997vfjckJCQkJCQkJCQkJCQkJCQkJCQk1D42lTenrpIxCwOUbzUljy96pLIygMnaZ0IB7Ncr573me5iPJ42jCQgRm4ARQ4PO7E+b29xg8vgrS/MqOdfAHIl5kmYD9Rj7Aw6xERhyxoBztr1vhfkpCyDVo2ZneiviLMG7gcOBuuLLHtgIPG3GTyR+aGhDELg/9K2wHYl5ysd+vZoThv4QyZaa4zjBSYgjgcWAK75tGPiNwWMY3/BmP8632vZJCyCV0ZEmXQp8EGiZRLv6gZ8bPAJ6yOEf3dxeP5SYq3SkM0oLvdPE2wQnAW8GZk/io38EbhR2fb7dNk0ogFRWC8zrRuD9u/X4qfAs8JCh23Ptwf2J6Wbo6rvUaHWcKelc4O3Aoml8zSBwo5x15Ftt265/HNO4JnUAp0/T+BSHikOFndLc4x93+Ou3tNc9mphyGkFdr04l1KckjgMOmGrgvhuNwN+ZtAHoHdcDLOzRCR7dAiwt0W8YBTYBN+Psiwabc61jByQJxR6/WoELOMx7fQw4D9gfCErw1QKeCrydt7nT1rFbwPAy3nQKcFAJf08dsARYgXSnpJNTGT8nMfPYLMwohXGW97oV+HgxsAtK9PU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UCamrFM+4AcW6sO5lcH6Unxhc8YfB3wFcVwFOk6fST14vppbGZQ1kK5YHl+uM9giz5cldVDYOCpXJpGAX2F8rlTGB/DOngEuw/hVGdvugd8iLkF8pdzGr6gACu40GARuknEqxk8p/XJrCPwC42KZPVXSwXiFeZk9ASzD+AWl3/jaATwss3Mk+16uM6jIhlRVDm+mumUmLTanT8rsQgrl42balkEKtXY+J7On861Wlp3JVFbOpOOBtYhjmXlNo1Fgg6SbENfmO4OKXtJV1dO7TV2a5QK9F1gGvBNomeZXvYD4d/O6oZRuf9x298oFoV8q7B+Ac5n+lXMvAXdjfN3LHu0vwdp+rATwcq/qUYuZ3oV4H4VqIgdN8qNDiHuBW7y37/evtIpO1Zp6lHKFukd/W2x3apIffb44q3jAh3Z//0qr2qVckTq/n+rRAWZ6PeIEjFMQJ1AoGGl7jJVPIR7AeFRevwk3uRe2r7WqpKc39arORvwSC+wNeE7HeDuwlEJxjN3d/O9Az4A9hPGMQvt1vtP6q/3MI1nAIZX1s0wsQMwF6jAWUSglN4ToM7RDsm1bO1xk7jBqukrmAs0z0zyZzcbYvxgfhIgXMYaQdki2Pd/hInPtTiwqeKSysmJblW81JW1OSEhISEhISEhISEhISJgW/w/jPMf8gYEtowAAAABJRU5ErkJggg==';
image.style.width = '10px';
image.style.height = '10px';
image.alt = '';
link.appendChild(image);
node.innerHTML = node.innerHTML.replace("@" + part, "@" + part + link.outerHTML);
processedIds.add(part);
}
}
});
}
const observer = new MutationObserver(mutations => {
mutations.forEach(mutation => {
if (mutation.addedNodes.length) {
checkForAtSymbol(mutation.addedNodes);
}
});
});
observer.observe(document.body, {
childList: true,
subtree: true
});
function checkTextOnScroll() {
const allNodes = Array.from(document.body.getElementsByTagName('*'));
checkForAtSymbol(allNodes);
}
let debounceTimeout;
window.addEventListener('scroll', () => {
clearTimeout(debounceTimeout);
debounceTimeout = setTimeout(checkTextOnScroll, 100);
});
checkForAtSymbol(Array.from(document.body.getElementsByTagName('*')));
here it is, this functions a bit differently as the original extension is completely non-working now, but i made it as visually appealing and nice as i could. I hope this serves well, and btw, some extensions do use apis and functions that userscripts simply cannot, however this was one that doesnt, but was simply unmaintained.
thanks for making this but can you put a link to the userscript i'm having trouble finding it
i didnt post it anywhere, i pasted it into the comment only
can somebody make a script version of the bluesky account finder for twitter google chrome extension i want a script version of this cause the extension doesn't work that well anymore