* [FFmpeg-devel] [PATCH] web/donations: Add my ETH/USDC/Bitcoin addresses to my donation entry.
@ 2025-11-14 21:45 Michael Niedermayer via ffmpeg-devel
2025-11-15 0:08 ` [FFmpeg-devel] " Jacob Lifshay via ffmpeg-devel
0 siblings, 1 reply; 4+ messages in thread
From: Michael Niedermayer via ffmpeg-devel @ 2025-11-14 21:45 UTC (permalink / raw)
To: FFmpeg development discussions and patches; +Cc: Michael Niedermayer
Only showing small logos, that show and copy the address when clicked
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
src/donations | 22 ++++++++++++++++++++--
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/src/donations b/src/donations
index 54c7388..c92c438 100644
--- a/src/donations
+++ b/src/donations
@@ -1,5 +1,15 @@
<h1>Donate to FFmpeg</h1>
+<script>
+function revealAndCopy(id) {
+ var c = document.getElementById(id);
+
+ c.style.display = c.style.display === "none" ? "block" : "none";
+
+ navigator.clipboard.writeText(c.innerHTML);
+}
+</script>
+
<p class="with-icon">
<span class="pull-left" style="color: #e55"><i class="fa fa-heart fa-5x"></i></span>
Donations will be used to fund expenses related to development
@@ -72,8 +82,16 @@
<div class="text-center">
<a class="btn btn-success btn-lg"
href="https://paypal.me/niedermayermichael">PayPal</a><br><br>
- <div class="pp-amounts">
- </div>
+ <div class="text-center">
+ <span onclick="revealAndCopy('emn')">
+ <img src="https://ethereum.org/images/assets/svgs/eth-diamond-black.svg" alt="Ethereum" width="32" height="32">
+ <img src="https://upload.wikimedia.org/wikipedia/commons/4/4a/Circle_USDC_Logo.svg" alt="USDC" width="32" height="32">
+ </span>
+ <span onclick="revealAndCopy('bmn')">
+ <img src="https://upload.wikimedia.org/wikipedia/commons/4/46/Bitcoin.svg" alt="Bitcoin" width="32" height="32">
+ </span>
+ <span id='emn' style='display:none'>0x688233B52Df5fcf563c8181b576728619567DFbb</span><br>
+ <span id='bmn' style='display:none'>bc1q55est04pzyvf0yezf2h7a98m72aunrxdt24jt8</span><br>
</div>
</div> <!-- well -->
</div> <!-- col -->
--
2.51.0
_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org
^ permalink raw reply [flat|nested] 4+ messages in thread* [FFmpeg-devel] Re: [PATCH] web/donations: Add my ETH/USDC/Bitcoin addresses to my donation entry.
2025-11-14 21:45 [FFmpeg-devel] [PATCH] web/donations: Add my ETH/USDC/Bitcoin addresses to my donation entry Michael Niedermayer via ffmpeg-devel
@ 2025-11-15 0:08 ` Jacob Lifshay via ffmpeg-devel
2025-11-15 5:09 ` Michael Niedermayer via ffmpeg-devel
0 siblings, 1 reply; 4+ messages in thread
From: Jacob Lifshay via ffmpeg-devel @ 2025-11-15 0:08 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Cc: Michael Niedermayer, Jacob Lifshay
On Fri, Nov 14, 2025 at 1:45 PM Michael Niedermayer via ffmpeg-devel
<ffmpeg-devel@ffmpeg.org> wrote:
> + <span onclick="revealAndCopy('emn')">
> + <img src="https://ethereum.org/images/assets/svgs/eth-diamond-black.svg" alt="Ethereum" width="32" height="32">
> + <img src="https://upload.wikimedia.org/wikipedia/commons/4/4a/Circle_USDC_Logo.svg" alt="USDC" width="32" height="32">
> + </span>
> + <span onclick="revealAndCopy('bmn')">
> + <img src="https://upload.wikimedia.org/wikipedia/commons/4/46/Bitcoin.svg" alt="Bitcoin" width="32" height="32">
> + </span>
> + <span id='emn' style='display:none'>0x688233B52Df5fcf563c8181b576728619567DFbb</span><br>
> + <span id='bmn' style='display:none'>bc1q55est04pzyvf0yezf2h7a98m72aunrxdt24jt8</span><br>
Please make it work when JavaScript is not available/disabled, which
some people like to do for security, ad-blocking, or because their
favorite browser doesn't support JavaScript at all (e.g. Lynx).
Jacob
_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org
^ permalink raw reply [flat|nested] 4+ messages in thread* [FFmpeg-devel] Re: [PATCH] web/donations: Add my ETH/USDC/Bitcoin addresses to my donation entry.
2025-11-15 0:08 ` [FFmpeg-devel] " Jacob Lifshay via ffmpeg-devel
@ 2025-11-15 5:09 ` Michael Niedermayer via ffmpeg-devel
2025-11-15 15:57 ` Michael Niedermayer via ffmpeg-devel
0 siblings, 1 reply; 4+ messages in thread
From: Michael Niedermayer via ffmpeg-devel @ 2025-11-15 5:09 UTC (permalink / raw)
To: FFmpeg development discussions and patches; +Cc: Michael Niedermayer
[-- Attachment #1.1: Type: text/plain, Size: 3080 bytes --]
On Fri, Nov 14, 2025 at 04:08:40PM -0800, Jacob Lifshay via ffmpeg-devel wrote:
> On Fri, Nov 14, 2025 at 1:45 PM Michael Niedermayer via ffmpeg-devel
> <ffmpeg-devel@ffmpeg.org> wrote:
> > + <span onclick="revealAndCopy('emn')">
> > + <img src="https://ethereum.org/images/assets/svgs/eth-diamond-black.svg" alt="Ethereum" width="32" height="32">
> > + <img src="https://upload.wikimedia.org/wikipedia/commons/4/4a/Circle_USDC_Logo.svg" alt="USDC" width="32" height="32">
> > + </span>
> > + <span onclick="revealAndCopy('bmn')">
> > + <img src="https://upload.wikimedia.org/wikipedia/commons/4/46/Bitcoin.svg" alt="Bitcoin" width="32" height="32">
> > + </span>
> > + <span id='emn' style='display:none'>0x688233B52Df5fcf563c8181b576728619567DFbb</span><br>
> > + <span id='bmn' style='display:none'>bc1q55est04pzyvf0yezf2h7a98m72aunrxdt24jt8</span><br>
>
> Please make it work when JavaScript is not available/disabled, which
> some people like to do for security, ad-blocking, or because their
> favorite browser doesn't support JavaScript at all (e.g. Lynx).
ok,
below can probably be formatted better but it should do the trick
diff --git a/src/donations b/src/donations
index 54c7388..73499c2 100644
--- a/src/donations
+++ b/src/donations
@@ -72,14 +72,35 @@
<div class="text-center">
<a class="btn btn-success btn-lg"
href="https://paypal.me/niedermayermichael">PayPal</a><br><br>
- <div class="pp-amounts">
- </div>
+ <div class="text-center">
+ <span onclick="revealAndCopy('emn')">
+ <img src="https://ethereum.org/images/assets/svgs/eth-diamond-black.svg" alt="Ethereum" width="32" height="32">
+ <img src="https://upload.wikimedia.org/wikipedia/commons/4/4a/Circle_USDC_Logo.svg" alt="USDC" width="32" height="32">
+ </span>
+ <span onclick="revealAndCopy('bmn')">
+ <img src="https://upload.wikimedia.org/wikipedia/commons/4/46/Bitcoin.svg" alt="Bitcoin" width="32" height="32">
+ </span><br>
+ <span id='emn'>0x688233B52Df5fcf563c8181b576728619567DFbb</span><br>
+ <span id='bmn'>bc1q55est04pzyvf0yezf2h7a98m72aunrxdt24jt8</span><br>
</div>
</div> <!-- well -->
</div> <!-- col -->
</div> <!-- row -->
+<script>
+function revealAndCopy(id) {
+ var c = document.getElementById(id);
+
+ c.style.display = c.style.display === "none" ? "block" : "none";
+
+ navigator.clipboard.writeText(c.innerHTML);
+}
+
+document.getElementById("emn").style.display = "none";
+document.getElementById("bmn").style.display = "none";
+</script>
+
<div class="row">
<div class="col-md-offset-4 col-md-8">
</div>
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 163 bytes --]
_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org
^ permalink raw reply [flat|nested] 4+ messages in thread* [FFmpeg-devel] Re: [PATCH] web/donations: Add my ETH/USDC/Bitcoin addresses to my donation entry.
2025-11-15 5:09 ` Michael Niedermayer via ffmpeg-devel
@ 2025-11-15 15:57 ` Michael Niedermayer via ffmpeg-devel
0 siblings, 0 replies; 4+ messages in thread
From: Michael Niedermayer via ffmpeg-devel @ 2025-11-15 15:57 UTC (permalink / raw)
To: FFmpeg development discussions and patches; +Cc: Michael Niedermayer
[-- Attachment #1.1: Type: text/plain, Size: 1644 bytes --]
On Sat, Nov 15, 2025 at 06:09:59AM +0100, Michael Niedermayer via ffmpeg-devel wrote:
> On Fri, Nov 14, 2025 at 04:08:40PM -0800, Jacob Lifshay via ffmpeg-devel wrote:
> > On Fri, Nov 14, 2025 at 1:45 PM Michael Niedermayer via ffmpeg-devel
> > <ffmpeg-devel@ffmpeg.org> wrote:
> > > + <span onclick="revealAndCopy('emn')">
> > > + <img src="https://ethereum.org/images/assets/svgs/eth-diamond-black.svg" alt="Ethereum" width="32" height="32">
> > > + <img src="https://upload.wikimedia.org/wikipedia/commons/4/4a/Circle_USDC_Logo.svg" alt="USDC" width="32" height="32">
> > > + </span>
> > > + <span onclick="revealAndCopy('bmn')">
> > > + <img src="https://upload.wikimedia.org/wikipedia/commons/4/46/Bitcoin.svg" alt="Bitcoin" width="32" height="32">
> > > + </span>
> > > + <span id='emn' style='display:none'>0x688233B52Df5fcf563c8181b576728619567DFbb</span><br>
> > > + <span id='bmn' style='display:none'>bc1q55est04pzyvf0yezf2h7a98m72aunrxdt24jt8</span><br>
> >
> > Please make it work when JavaScript is not available/disabled, which
> > some people like to do for security, ad-blocking, or because their
> > favorite browser doesn't support JavaScript at all (e.g. Lynx).
>
> ok,
>
> below can probably be formatted better but it should do the trick
applied
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 163 bytes --]
_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-11-15 15:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-14 21:45 [FFmpeg-devel] [PATCH] web/donations: Add my ETH/USDC/Bitcoin addresses to my donation entry Michael Niedermayer via ffmpeg-devel
2025-11-15 0:08 ` [FFmpeg-devel] " Jacob Lifshay via ffmpeg-devel
2025-11-15 5:09 ` Michael Niedermayer via ffmpeg-devel
2025-11-15 15:57 ` Michael Niedermayer via ffmpeg-devel
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git