From 046c35119b94442700f0642e3d730ca103f565fb Mon Sep 17 00:00:00 2001 From: ashley Date: Tue, 27 May 2025 18:10:35 +0200 Subject: [PATCH] Update html/watch.ejs --- html/watch.ejs | 103 +++++++++++++++++-------------------------------- 1 file changed, 36 insertions(+), 67 deletions(-) diff --git a/html/watch.ejs b/html/watch.ejs index b1638378..eb015c77 100644 --- a/html/watch.ejs +++ b/html/watch.ejs @@ -2915,71 +2915,7 @@ font-size: 13px;margin:0;padding:0;white-space: nowrap; - - - Summarise! - - -


- <%-String(channelurlfixer(inv_vid.descriptionHtml)).replace(/\n/g, "
").replace(/twitter\.com/g, "twitter.com").replace(/reddit\.com/g, "redlib.matthew.science") %> - - +<% + const variant = Math.random() < 0.5 ? 'A' : 'B'; + const showButton = Math.random() < 0.5; + const desc = inv_vid.description || ''; +%> + +<% if (showButton) { %> + + Summarise! + +<% } %> + + +


+ <%-String(channelurlfixer(inv_vid.descriptionHtml)).replace(/\n/g, "
").replace(/twitter\.com/g, "twitter.com").replace(/reddit\.com/g, "redlib.matthew.science") %> +
Rating! :3