···55import bookmarkleter from 'bookmarkleter';
6677export function generateMetadata(): Metadata {
88- const title = `Unified (Bluesky + Klearsky + Twitter) Like Bomb`;
88+ const title = `Bluesky Like Bomb`;
99 const description = 'A way to like all posts in a thread easily.';
1010 const icon = '/revolving-hearts.png';
1111 const absoluteUrl = `https://likebomb.bsky.sh`;
···4444const code = `var d = document;
4545var $$ = d.querySelectorAll.bind(d);
4646var l = window.location.hostname;
4747-switch (true) {
4848-case l.includes('bsky.app'):
4949- var likeButtons = $$('button[aria-label^="Like ("]');
5050- var filteredLikeButtons = [...likeButtons].filter(likeButton => !!likeButton.offsetParent);
5151- filteredLikeButtons.forEach(e => e.click());
5252- break;
5353-case l.includes('klearsky.pages.dev'):
5454- var likeButtons = $$('button[class~="like-button"][data-liked="false"]');
5555- likeButtons.forEach(e => e.click());
5656- break;
5757-case l.includes('twitter.com'):
5858-case l.includes('x.com'):
5959- var likeButtons = $$('div[data-testid="like"]');
6060- likeButtons.forEach(e => e.click());
6161- break;
6262-}`;
4747+var likeButtons = $$('div[aria-label^="Like ("]');
4848+var filteredLikeButtons = [...likeButtons].filter(likeButton => !!likeButton.offsetParent);
4949+filteredLikeButtons.forEach(e => e.click());
5050+`;
63516452const bookmarklet = bookmarkleter(code, {
6553 urlencode: true,
···7260export default function Page() {
7361 return (
7462 <div style={{ width: '800px' }}>
7575- <h1>Unified (Bluesky + Klearsky + Twitter) Like Bomb</h1>
6363+ <h1>Bluesky Like Bomb</h1>
7664 <div>
7777- Drag this to your bookmarks bar. Clicking it will like every visible post in the thread on Bluesky and{' '}
7878- <a href="https://klearsky.pages.dev">Klearsky</a>, and mostly all like buttons on a page on Twitter. You may
7979- have to scroll a bit on the latter to get them all; that's because Twitter unloads tweets as you scroll.
6565+ Drag this to your bookmarks bar. Clicking it will like every visible post in the thread on Bluesky.
8066 <br />
8167 <br />
8268 <div