Created
May 5, 2024 04:27
-
-
Save mimonelu/cc7b8cf77eaef8349a1f9a96d0cf390e to your computer and use it in GitHub Desktop.
Bluecast Profile Link
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (() => { document.querySelectorAll("body > div > section > div > div > div > div > button").forEach(el => { const existing = el.parentNode.querySelector("a"); if (existing != null) { return } const img = el.querySelector("img"); const did = img?.src.match(/did:[^\/]+/s); const a = document.createElement("a"); a.href = `https://bsky.app/profile/${did}`; a.target = "_blank"; a.style = "display: block; margin: 0.5rem 0;"; a.innerText = "🔗 Open profile page"; el.parentNode.appendChild(a); }); })(); void 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment