this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

update like bomb

alice 262651e8 aa56799c

+7 -21
+7 -21
src/app/likebomb/page.tsx
··· 5 5 import bookmarkleter from 'bookmarkleter'; 6 6 7 7 export function generateMetadata(): Metadata { 8 - const title = `Unified (Bluesky + Klearsky + Twitter) Like Bomb`; 8 + const title = `Bluesky Like Bomb`; 9 9 const description = 'A way to like all posts in a thread easily.'; 10 10 const icon = '/revolving-hearts.png'; 11 11 const absoluteUrl = `https://likebomb.bsky.sh`; ··· 44 44 const code = `var d = document; 45 45 var $$ = d.querySelectorAll.bind(d); 46 46 var l = window.location.hostname; 47 - switch (true) { 48 - case l.includes('bsky.app'): 49 - var likeButtons = $$('button[aria-label^="Like ("]'); 50 - var filteredLikeButtons = [...likeButtons].filter(likeButton => !!likeButton.offsetParent); 51 - filteredLikeButtons.forEach(e => e.click()); 52 - break; 53 - case l.includes('klearsky.pages.dev'): 54 - var likeButtons = $$('button[class~="like-button"][data-liked="false"]'); 55 - likeButtons.forEach(e => e.click()); 56 - break; 57 - case l.includes('twitter.com'): 58 - case l.includes('x.com'): 59 - var likeButtons = $$('div[data-testid="like"]'); 60 - likeButtons.forEach(e => e.click()); 61 - break; 62 - }`; 47 + var likeButtons = $$('div[aria-label^="Like ("]'); 48 + var filteredLikeButtons = [...likeButtons].filter(likeButton => !!likeButton.offsetParent); 49 + filteredLikeButtons.forEach(e => e.click()); 50 + `; 63 51 64 52 const bookmarklet = bookmarkleter(code, { 65 53 urlencode: true, ··· 72 60 export default function Page() { 73 61 return ( 74 62 <div style={{ width: '800px' }}> 75 - <h1>Unified (Bluesky + Klearsky + Twitter) Like Bomb</h1> 63 + <h1>Bluesky Like Bomb</h1> 76 64 <div> 77 - Drag this to your bookmarks bar. Clicking it will like every visible post in the thread on Bluesky and{' '} 78 - <a href="https://klearsky.pages.dev">Klearsky</a>, and mostly all like buttons on a page on Twitter. You may 79 - have to scroll a bit on the latter to get them all; that&apos;s because Twitter unloads tweets as you scroll. 65 + Drag this to your bookmarks bar. Clicking it will like every visible post in the thread on Bluesky. 80 66 <br /> 81 67 <br /> 82 68 <div