From d7ca2fd473ef29a22824862ec89257c86b4b0937 Mon Sep 17 00:00:00 2001 From: ashley Date: Wed, 4 Sep 2024 12:02:38 +0000 Subject: [PATCH] add alot of quality of life improvements!! --- html/poketube.ejs | 57 ++++++++++++++++++++++++++++------------------- 1 file changed, 34 insertions(+), 23 deletions(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index 9e2dd4a..9a7a352 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -1,5 +1,5 @@ <% try { %> - + <% if (!isMobile) { %> <% } %><% if(!secure) { %><% } %> - + @@ -41,6 +41,7 @@ <% if (!e) { %> + @@ -393,7 +394,7 @@ a[data-onclick="jump_to_time"] { - + @@ -406,7 +407,13 @@ a[data-onclick="jump_to_time"] { - + + + + + + + <% if (k.Video.Channel.Name == "7clouds") { %> <% } %> - - - - - - + @@ -743,7 +745,7 @@ background-color: #0000; <% if (k.Video.Channel.Name !== "twenty one pilots") { %> - + <% if (secure) { %> @@ -777,7 +779,7 @@ if your domain matches this code you are probably in poketube.fun owo:3 <% if (k.Video.Channel.Name === "twenty one pilots") { %> - + @@ -853,7 +855,7 @@ if your domain matches this code you are probably in poketube.fun owo:3 -Account +My Account @@ -874,18 +876,18 @@ Poke Translate <% if (!a) { %> - + - Ambient mode • on + Ambient Lights • on <% } %> <% if (a) { %> - + - Ambient mode • off + Ambient Lights • off @@ -949,7 +951,7 @@ Go Lite! Version - + Source Code @@ -1377,8 +1379,12 @@ WIP!
- -
+ + <% if (inv_vid.descriptionHtml && inv_vid.descriptionHtml.trim() !== "" && inv_vid.descriptionHtml.trim() !== "

") { %> +
+<% } else { %> +
+<% } %> <%=engagement.viewCount.toLocaleString()%> Views • <%=date%> • Click to toggle off description @@ -1389,7 +1395,7 @@ WIP!
- <%-String(channelurlfixer(inv_vid.descriptionHtml)).replace(/\n/g, "
").replace(/twitter\.com/g, "twitter.com").replace(/reddit\.com/g, "redlib.matthew.science") %> + <%-String(channelurlfixer(inv_vid.descriptionHtml)).replace(/\n/g, "
").replace(/x\.com/g, "twitter.com").replace(/reddit\.com/g, "redlib.matthew.science") %>
<% } %> <% } %> <% } %> @@ -1437,7 +1443,11 @@ WIP! Views : <%=engagement.viewCount.toLocaleString()%>
Genre: <%-inv_vid.genre %>
- <%=date%> ^^
+<% if (date.includes("Premiered")) { %> + Premiered <%= date.replace("Premiered", "at") %> ^^
+<% } else { %> + Uploaded At <%= date %> ^^
+<% } %>
warning: returnyoutubedislikes may not be accurate, this is just an estiment ehe :3
@@ -3540,4 +3550,5 @@ window.addEventListener('DOMContentLoaded', () => { <% } catch (error) { %> <%- error %> - <% } %> \ No newline at end of file + <% } %> + \ No newline at end of file