Need to enable Damus note zaps? Go to https://zap.army 🐶🐾🥷🫡⚡️⚡️⚡️

Reply to this note

Please Login to reply.

Discussion

It's still really weird to me that a button on a website can alter an apps functionality...

Nostrscript thing. It’s like JavaScript 🐶🐾🤣⚡️⚡️⚡️🥷

I wonder if something like this would be possible on GrapheneOS? I suspect not considering how hardened and isolated apps are, especially the browser.

The script within app is definitely doable. Same as browser 🐶🐾🫡

The source code of the app is just an HTML file, no scripting involved. The buttons just have URIs which Damus is programmed to handle. An app on iOS can choose to handle its own URIs and do things on how they are programmed to handle the URIs. It's up to the app developer and the security is down to designing them to be handled properly and safely. App developers shouldn't program URIs that do extreme things when navigated to. The website is not actually changing anything, it's just Damus app behavior already built in. You could go to the source code, copy the URI in the anchor and put it in your browser bar for the same effect.

This can be done in Android apps too, but you won't see it done as often:

https://developer.android.com/training/app-links/deep-linking

Super informative, thank you!

What wallet set up do you use to receive and zap ⚡️ out people?

Receive is LNBits -> Eclair. Send is Zeus -> LNBits-> Eclair 🐶🐾🫡🥷⚡️

Quite a set up.

I dropped a few intermediate things in there, but the meat is this 🐶🐾🥷⚡️

What role is LNBits playing in this?

LNBits is serving as an interface for the invoice fetching 🐶🐾🫡🥷⚡️