i made a little zapper bookmark....its zaps everything on the page
javascript:(async () => {const weblnModule = await import('https://unpkg.com/webln@0.3.2/dist/webln.min.js'); const { webln } = window; const findAllNostrPublicKeys = () => {const allElements = document.querySelectorAll('body *'); const npubRegex = /npub1[a-zA-Z0-9]+?\b/; const npubIds = []; allElements.forEach(element => {const matches = element.textContent.match(npubRegex); if (matches) {npubIds.push(...matches); } }); return npubIds; }; const npubs = findAllNostrPublicKeys(); console.log(npubs); await webln.enable(); for (let npub of npubs) {try {const paymentRequest = await webln.makeInvoice(); await webln.sendPayment(paymentRequest); } catch (error) {console.error('Error processing payment:', error); } } })();
Can anyone zap me at zap@pay.globalthreat.info -- I have had zero zaps in like a month.
is #iris open source?
Yes, not only that you can run multiple frameworks simultenaously in the frontend.
mutinywallet is a good start. #pwa all tlhe things!
blackfriday...the day 9 out of 10 emails get flagged as spam :_D
ya fuck 1 moose and they call you moose fucker for life.
#gm #nostr
i made a little zapper bookmark....its zaps everything on the page
javascript:(async () => {const weblnModule = await import('https://unpkg.com/webln@0.3.2/dist/webln.min.js'); const { webln } = window; const findAllNostrPublicKeys = () => {const allElements = document.querySelectorAll('body *'); const npubRegex = /npub1[a-zA-Z0-9]+?\b/; const npubIds = []; allElements.forEach(element => {const matches = element.textContent.match(npubRegex); if (matches) {npubIds.push(...matches); } }); return npubIds; }; const npubs = findAllNostrPublicKeys(); console.log(npubs); await webln.enable(); for (let npub of npubs) {try {const paymentRequest = await webln.makeInvoice(); await webln.sendPayment(paymentRequest); } catch (error) {console.error('Error processing payment:', error); } } })();
#GM vietnam!!!!!!!!!!!!
who? i'll go rough 'em up!
#PWA ALL THE THINGS@!!!!!!!!
Anyone know why this webln code doesn't work?
Even though we have just started releasing on iOS, a great reminder that even if something were to happen with the app on the app stores, our application is still available as a web app @ https://app.mutinywallet.com and self hostable as well.
nostr:note1jw0nextr3sy7hpwcm5s8pgxhyaypj37u0heffqy47vac4y8cregqqn4xgn
#PWA ALL THE THINGS
PWA ALL THE THINGS!!!!!!!!!!
[Realtime global threat assessment driven by AI](https://geyser.fund/project/globaltreat)
free #zaps #zapvertising #zapathon for anyone who stars our project: https://github.com/primatejs/primate
