From a412ed531c7f980cf7db4e752a437ba42e0f2aec Mon Sep 17 00:00:00 2001 From: CatAClock Date: Sun, 11 May 2025 19:39:38 -0700 Subject: [PATCH 01/16] bsky stuff now works as intended --- JS/expanded.js | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/JS/expanded.js b/JS/expanded.js index 497f650..d6f1898 100644 --- a/JS/expanded.js +++ b/JS/expanded.js @@ -60,7 +60,7 @@ async function GetPost() { } // Update the post to see if there is new information. post = await MastodonAPI.GetStatus(post.id); - // Set the texts. + // Set the texts. It's opposite because "setting" causes it to switch. FavoriteFlipper = !(post.favourite); BoostFlipper = !(post.reblogged); SetFavorite(); @@ -81,8 +81,17 @@ async function GetPost() { } } // We don't need to update the post with new information. The repos are seperate. - // Set the texts. - // TODO! + // Set the texts. It's opposite because "setting" causes it to switch. + let GetRepo = await BlueskyAPI.GetRecord(localStorage.getItem(Variables.BlueskyDID), "app.bsky.feed.like", post.post.uri.split("/")[post.post.uri.split("/").length - 1]); + if (GetRepo.hasOwnProperty("error") && GetRepo.error == "RecordNotFound") { + FavoriteFlipper = true; + } + GetRepo = await BlueskyAPI.GetRecord(localStorage.getItem(Variables.BlueskyDID), "app.bsky.feed.repost", post.post.uri.split("/")[post.post.uri.split("/").length - 1]); + if (GetRepo.hasOwnProperty("error") && GetRepo.error == "RecordNotFound") { + BoostFlipper = true; + } + SetFavorite(); + SetBoost(); } else { document.getElementsByClassName("PostText")[0].innerHTML = "Nothing to load."; } -- 2.45.3 From 6a6d4f9c3f14c3712833aa231dc476be3bd30832 Mon Sep 17 00:00:00 2001 From: CatAClock Date: Sun, 11 May 2025 19:43:41 -0700 Subject: [PATCH 02/16] music now refreshes properly --- JS/index.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/JS/index.js b/JS/index.js index f8e93f2..c3acb18 100644 --- a/JS/index.js +++ b/JS/index.js @@ -71,12 +71,19 @@ Warning.onclick = (event) => { setTimeout(() => { Main.classList.remove("MainFadeInAnimation"); Main.classList.add("MainAfter"); - BackgroundMusic.play(); + Music(); }, 5000); Main = document.getElementsByClassName("MainFadeInAnimation")[0]; PosterContainerUpdate(); } +function Music() { + BackgroundMusic.play(); + setTimeout(() => { + Music(); + }, 180000); +} + // Clicking the next button ArrowsButton[1].onclick = (event) => { if (!ContainerContainer.classList.contains("NextAnimation")) { -- 2.45.3 From bd6ad4a0aaa3685c678e4665a9d195f7fcae735b Mon Sep 17 00:00:00 2001 From: CatAClock Date: Sun, 11 May 2025 16:14:40 -0700 Subject: [PATCH 03/16] fix a bug where the innerHTML did not reset on reload. --- JS/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/JS/index.js b/JS/index.js index c3acb18..ff7a529 100644 --- a/JS/index.js +++ b/JS/index.js @@ -188,7 +188,9 @@ async function PosterContainerUpdate(Direction) { switch(countergroup) { // Mastodon case 0: + // Begin by having the website we are using get pushed to the expanded view array and clean out the HTML. WebsiteAPIType.push("Mastodon"); + i.getElementsByClassName("PostContent")[0].innerHTML = ""; if (MastodonLoadedFeed[CurrentThing + counter] == undefined) { let TempFeed = await MastodonAPI.GetTimeline(MastodonLoadedFeed[CurrentThing + counter - 1].id); MastodonLoadedFeed = MastodonLoadedFeed.concat(TempFeed); @@ -214,7 +216,9 @@ async function PosterContainerUpdate(Direction) { break; // Bsky case 1: + // Begin by having the website we are using get pushed to the expanded view array and clean out the HTML. WebsiteAPIType.push("Bluesky"); + i.getElementsByClassName("PostContent")[0].innerHTML = ""; if (BlueskyLoadedFeed[CurrentThing + counter] == undefined) { let TempFeed = await BlueskyAPI.GetTimeline(BlueskyLoadedFeed[CurrentThing + counter - 1].post.indexedAt).then((response) => response.feed) BlueskyLoadedFeed = BlueskyLoadedFeed.concat(TempFeed); -- 2.45.3 From f838a1c18e273bfd75ac117f1ebe8b25de5bf4ef Mon Sep 17 00:00:00 2001 From: CatAClock Date: Sun, 11 May 2025 20:02:04 -0700 Subject: [PATCH 04/16] images now work for mastodon boosts --- JS/expanded.js | 15 ++++++++++----- JS/index.js | 12 +++++++++--- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/JS/expanded.js b/JS/expanded.js index d6f1898..3aa028e 100644 --- a/JS/expanded.js +++ b/JS/expanded.js @@ -48,14 +48,19 @@ async function GetPost() { if (post.reblog != null) { document.getElementsByClassName("PostText")[0].innerHTML = post.reblog.content; document.getElementsByClassName("Handle")[0].innerHTML = post.reblog.account.username + " ( R: " + post.account.username + " )"; + if (post.reblog.media_attachments.length != 0) { + for (let i of post.reblog.media_attachments) { + document.getElementsByClassName("Images")[0].innerHTML += "" + i.description + ""; + } + } } else { document.getElementsByClassName("PostText")[0].innerHTML = post.content; document.getElementsByClassName("Handle")[0].innerHTML = post.account.username; - } - // Show the image if it exists. - if (post.media_attachments.length != 0) { - for (let i of post.media_attachments) { - document.getElementsByClassName("Images")[0].innerHTML = document.getElementsByClassName("Images")[0].innerHTML + "" + i.description + ""; + // Show the image if it exists. + if (post.media_attachments.length != 0) { + for (let i of post.media_attachments) { + document.getElementsByClassName("Images")[0].innerHTML += "" + i.description + ""; + } } } // Update the post to see if there is new information. diff --git a/JS/index.js b/JS/index.js index ff7a529..a317e0a 100644 --- a/JS/index.js +++ b/JS/index.js @@ -195,9 +195,15 @@ async function PosterContainerUpdate(Direction) { let TempFeed = await MastodonAPI.GetTimeline(MastodonLoadedFeed[CurrentThing + counter - 1].id); MastodonLoadedFeed = MastodonLoadedFeed.concat(TempFeed); } - // Check for images. - if (MastodonLoadedFeed[CurrentThing + counter].media_attachments.length != 0) { - i.getElementsByClassName("PostContent")[0].innerHTML += "This post has an image!
"; + // Check for images. Reblog roundabout fix included. + if (MastodonLoadedFeed[CurrentThing + counter].reblog != null) { + if (MastodonLoadedFeed[CurrentThing + counter].reblog.media_attachments.length != 0) { + i.getElementsByClassName("PostContent")[0].innerHTML += "This post has an image!
"; + } + } else { + if (MastodonLoadedFeed[CurrentThing + counter].media_attachments.length != 0) { + i.getElementsByClassName("PostContent")[0].innerHTML += "This post has an image!
"; + } } // Content warning. Don't show the content unless clicked!!! if (MastodonLoadedFeed[CurrentThing + counter].spoiler_text != "") { -- 2.45.3 From fd96902e77e72692e1dc0cf141a27c1ee4338298 Mon Sep 17 00:00:00 2001 From: CatAClock Date: Sun, 11 May 2025 22:15:14 -0700 Subject: [PATCH 05/16] Fixed image bugs, Mastodon video --- JS/expanded.js | 21 +++++++++++++++++++-- JS/index.js | 12 ++++++++++-- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/JS/expanded.js b/JS/expanded.js index 3aa028e..8f7b69c 100644 --- a/JS/expanded.js +++ b/JS/expanded.js @@ -50,7 +50,7 @@ async function GetPost() { document.getElementsByClassName("Handle")[0].innerHTML = post.reblog.account.username + " ( R: " + post.account.username + " )"; if (post.reblog.media_attachments.length != 0) { for (let i of post.reblog.media_attachments) { - document.getElementsByClassName("Images")[0].innerHTML += "" + i.description + ""; + CreateMedia(i); } } } else { @@ -59,7 +59,7 @@ async function GetPost() { // Show the image if it exists. if (post.media_attachments.length != 0) { for (let i of post.media_attachments) { - document.getElementsByClassName("Images")[0].innerHTML += "" + i.description + ""; + CreateMedia(i); } } } @@ -102,6 +102,23 @@ async function GetPost() { } } +function CreateMedia(Media) { + // Check to see if the image is on the same server. + if (Media.type == "image") { + if (Media.remote_url == null) { + document.getElementsByClassName("Images")[0].innerHTML += "" + Media.description + ""; + } else { + document.getElementsByClassName("Images")[0].innerHTML += "" + Media.description + ""; + } + } else if (Media.type == "video") { + if (Media.remote_url == null) { + document.getElementsByClassName("Images")[0].innerHTML += ""; + } else { + document.getElementsByClassName("Images")[0].innerHTML += ""; + } + } +} + function SetFavorite() { FavoriteFlipper = !(FavoriteFlipper); if (FavoriteFlipper == false) { diff --git a/JS/index.js b/JS/index.js index a317e0a..e8e962d 100644 --- a/JS/index.js +++ b/JS/index.js @@ -198,11 +198,19 @@ async function PosterContainerUpdate(Direction) { // Check for images. Reblog roundabout fix included. if (MastodonLoadedFeed[CurrentThing + counter].reblog != null) { if (MastodonLoadedFeed[CurrentThing + counter].reblog.media_attachments.length != 0) { - i.getElementsByClassName("PostContent")[0].innerHTML += "This post has an image!
"; + if (MastodonLoadedFeed[CurrentThing + counter].reblog.media_attachments[0].type == "image") { + i.getElementsByClassName("PostContent")[0].innerHTML += "This post has an image!
"; + } else if (MastodonLoadedFeed[CurrentThing + counter].reblog.media_attachments[0].type == "video") { + i.getElementsByClassName("PostContent")[0].innerHTML += "This post has a video!
"; + } } } else { if (MastodonLoadedFeed[CurrentThing + counter].media_attachments.length != 0) { - i.getElementsByClassName("PostContent")[0].innerHTML += "This post has an image!
"; + if (MastodonLoadedFeed[CurrentThing + counter].media_attachments[0].type == "image") { + i.getElementsByClassName("PostContent")[0].innerHTML += "This post has an image!
"; + } else if (MastodonLoadedFeed[CurrentThing + counter].media_attachments[0].type == "video") { + i.getElementsByClassName("PostContent")[0].innerHTML += "This post has a video!
"; + } } } // Content warning. Don't show the content unless clicked!!! -- 2.45.3 From d87faaf38e7fdc08fc8bca942dcf96c7f960dda8 Mon Sep 17 00:00:00 2001 From: CatAClock Date: Sun, 11 May 2025 22:24:14 -0700 Subject: [PATCH 06/16] css beginnings --- CSS/expanded.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CSS/expanded.css b/CSS/expanded.css index 8715043..0889f7a 100644 --- a/CSS/expanded.css +++ b/CSS/expanded.css @@ -1,5 +1,5 @@ /* HTML items */ -img { +img, video { border-style: solid; border-radius: 1%; @@ -8,20 +8,20 @@ img { /* Classes */ .Handle { - + background-color: white; } .Origin { - + background-color: grey; } .PostText { - + background-color: #00ECE8; } .Images { display: flex; justify-content: center; flex-wrap: wrap; - + background-color: #050505; } -- 2.45.3 From d82ca66d1288604aea24e5d52fa2f4cb8d3ef906 Mon Sep 17 00:00:00 2001 From: CatAClock Date: Mon, 12 May 2025 18:40:09 -0700 Subject: [PATCH 07/16] Beutification successful. That's all I will be doing for now. --- CSS/expanded.css | 17 +++++++++- CSS/index.css | 67 +++++++++++++++++++++++++------------- CSS/mail.css | 42 ++++++++++++++++++++++++ CSS/post.css | 28 ++++++++++++++++ CSS/setting.css | 47 ++++++++++++++++++++++++++ HTML/expanded.html | 6 ++-- HTML/mail.html | 14 +++++--- HTML/post.html | 26 ++++++++------- HTML/setting.html | 31 +++++++++++++----- Icons/IndexBackground.png | Bin 0 -> 180 bytes JS/setting.js | 4 +-- index.html | 9 +++-- 12 files changed, 235 insertions(+), 56 deletions(-) create mode 100644 Icons/IndexBackground.png diff --git a/CSS/expanded.css b/CSS/expanded.css index 0889f7a..a4a9d07 100644 --- a/CSS/expanded.css +++ b/CSS/expanded.css @@ -6,6 +6,11 @@ img, video { width: 45%; } +html { + overflow-x: hidden; + overflow-y: hidden; +} + /* Classes */ .Handle { background-color: white; @@ -16,7 +21,7 @@ img, video { } .PostText { - background-color: #00ECE8; + background-color: #00FFFF; } .Images { @@ -25,3 +30,13 @@ img, video { flex-wrap: wrap; background-color: #050505; } + +.Button { + margin-top: 30px; + + border-style: solid; + border-width: 1px; + + width: 100px; + height: 100px; +} diff --git a/CSS/index.css b/CSS/index.css index 231b039..1207c5b 100644 --- a/CSS/index.css +++ b/CSS/index.css @@ -111,18 +111,17 @@ html { } /* Classes for the main page */ -.MainBefore { +.MainBefore, .MainAfter { position: absolute; top: 0px; left: 0px; - visibility: collapse; + background-image: url("../Icons/IndexBackground.png"); } -.MainAfter { - position: absolute; - top: 0px; - left: 0px; +/* Animation things to get it working smoothly */ +.MainBefore { + visibility: collapse; } .MainFadeInAnimation { @@ -161,6 +160,7 @@ html { height: 5vh; } +/* Stuff that goes into the posts. */ .Arrow { position: absolute; top: 35vh; @@ -182,11 +182,21 @@ html { .Post { overflow: hidden; + margin-top: 1%; + margin-bottom: 1%; + margin-left: 1%; + margin-right: 1%; + border-style: solid; border-width: 2px; + border-top-left-radius: 2% 50%; + border-top-right-radius: 2% 50%; + border-bottom-left-radius: 2% 50%; + border-bottom-right-radius: 2% 50%; - width: 24%; - height: 25%; + background-color: #FFFFFF; + width: 22%; + height: 23%; } .Post:hover { @@ -196,35 +206,46 @@ html { .Username { text-align: center; font-weight: bold; + font-size: 2ch; + + margin-top: -5px; } .PostContent { - font-size: 1ch; + font-size: 0.9ch; } -.Setting { - border-style: solid; - border-width: 1px; -} - -.Mail { - border-style: solid; - border-width: 1px; -} - -.Posting { +/* Footer things */ +.Setting, .Posting, .Mail { + margin-top: 30px; + border-style: solid; border-width: 1px; + width: 100px; + height: 100px; +} + +.Time { + font-size: 4ch; +} + +.Posting { margin-right: 5%; } .MainFooter { display: flex; - margin-top: 75vh; - text-align: center; justify-content: center; - height: 15vh; + background: linear-gradient(#dcdcdc, #b4b4b4); + + margin-top: 75vh; + + border-top-style: solid; + border-width: 2px; + border-color: #00FFFF; + + height: 20vh; } diff --git a/CSS/mail.css b/CSS/mail.css index e18b85f..f1a1769 100644 --- a/CSS/mail.css +++ b/CSS/mail.css @@ -1,3 +1,36 @@ +/* Combination */ +header, footer { + style="position: relative; + z-index: 1; +} + +/* Singletons */ +html { + background: linear-gradient(#b4b4b4, #dcdcdc, #b4b4b4); + overflow-x: hidden; + overflow-y: hidden; +} + +header { + height: 5vh; +} + +section { + position: absolute; + width: 100%; + height: 80vh; +} + +.Button { + margin-top: 30px; + + border-style: solid; + border-width: 1px; + + width: 100px; + height: 100px; +} + .Favorite { border-style: solid; border-width: 2px; @@ -42,3 +75,12 @@ .Notification:hover { overflow: visible; } + +footer { + display: flex; + justify-content: center; + + margin-top: -10vh; + + height: 20vh; +} diff --git a/CSS/post.css b/CSS/post.css index 8b13789..8d19465 100644 --- a/CSS/post.css +++ b/CSS/post.css @@ -1 +1,29 @@ +html { + overflow-x: hidden; + overflow-y: hidden; +} +header { + height: 5vh; +} + +section { + height: 75vh; +} + +.SmallButton { + margin-top: 30px; + + border-style: solid; + border-width: 1px; + + width: 100px; + height: 100px; +} + +footer { + display: flex; + justify-content: center; + + height: 5vh; +} diff --git a/CSS/setting.css b/CSS/setting.css index e69de29..a86bd3d 100644 --- a/CSS/setting.css +++ b/CSS/setting.css @@ -0,0 +1,47 @@ +html { + background-color: black; + color: white; + overflow-x: hidden; + overflow-y: hidden; +} + +header { + border-bottom-style: solid; + + height: 5vh; +} + +.Hidden { + visibility: hidden; + display: none; +} + +.Button { + border-style: solid; + border-width: 6px; + border-color: #00FFFF; + + padding: 25vh 8vw; + + background: linear-gradient(#dcdcdc, #b4b4b4); + color: black; +} + +.SmallButton { + margin-top: 30px; + + border-style: solid; + border-width: 1px; + + width: 100px; + height: 100px; +} + +footer { + display: flex; + justify-content: center; + + border-top-style: solid; + + height: 10vh; +} diff --git a/HTML/expanded.html b/HTML/expanded.html index 76ce64e..c295f75 100644 --- a/HTML/expanded.html +++ b/HTML/expanded.html @@ -19,11 +19,13 @@

-
+

Favorite!

Boost!

Reply!

-

Back

+
+

Back

+
diff --git a/HTML/mail.html b/HTML/mail.html index d9417a7..37ce1fe 100644 --- a/HTML/mail.html +++ b/HTML/mail.html @@ -12,12 +12,16 @@ -
-
-
-
+

Mail

-

Back

+
+
+
+
+
+
+

Back

+
diff --git a/HTML/post.html b/HTML/post.html index 612c6e9..55733ca 100644 --- a/HTML/post.html +++ b/HTML/post.html @@ -15,16 +15,20 @@

Post

- -
- -
-

POST!

-

Back

+
+ +
+ +
+

POST!

+
+
+

Back

+
diff --git a/HTML/setting.html b/HTML/setting.html index 51f38ed..d085474 100644 --- a/HTML/setting.html +++ b/HTML/setting.html @@ -15,14 +15,27 @@

Setting

-

Toggle Local

-

Toggle Remote

- - - - - - -

Back

+
+
+

Toggle Local

+

Toggle Remote

+
+
+ +
+ + + +
+
+ + + +
+
+
+
+

Back

+
diff --git a/Icons/IndexBackground.png b/Icons/IndexBackground.png new file mode 100644 index 0000000000000000000000000000000000000000..94981bfca28559b01a8445ee6ddc9467be905e44 GIT binary patch literal 180 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jPK-BC>eK@{Ea{HEjtmSN z`?>!lvI6-E$sR$z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8X6a z5n0T@pr;JNj1^1m%YcHio-U3d5|@+r6hA*#&t}um*~qY

Warning! Care for yourself!

- The world might seem like an uncaring place. At a glance, that might seem true. However, that doesn't mean nobody cares. The average person has enough affection to share with you, so please share it back.
- You are also cute :3
- Safety options are available here: https://CrowdedGames.Group + The world might seem like an uncaring place. At a glance, that might seem true looking at social media.

+ However, that doesn't mean nobody cares. The average person has enough affection to share with you. You just need to ask. Trust us.

+ There are mean people on the internet. Pay no attention to them and block them. They don't matter. You do.

+ One more thing... There are people who might also be down. Please spread around the affection. It's for the best.

+ You are also cute :3

+ Safety options are available here: https://CrowdedGames.Group

Click on this webpage to continue

-- 2.45.3 From a1b27d7549d5d2b3c53533a0f7dc429f339466bb Mon Sep 17 00:00:00 2001 From: CatAClock Date: Mon, 12 May 2025 19:01:50 -0700 Subject: [PATCH 08/16] videos now work on Bsky --- JS/expanded.js | 10 +++++++--- JS/index.js | 8 ++++++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/JS/expanded.js b/JS/expanded.js index 8f7b69c..7354656 100644 --- a/JS/expanded.js +++ b/JS/expanded.js @@ -80,9 +80,13 @@ async function GetPost() { document.getElementsByClassName("Handle")[0].innerHTML = post.post.author.handle; } // Show the image if it exists. - if (post.post.record.hasOwnProperty("embed") && post.post.record.embed.$type == "app.bsky.embed.images") { - for (let i of post.post.embed.images) { - document.getElementsByClassName("Images")[0].innerHTML = document.getElementsByClassName("Images")[0].innerHTML + "" + i.alt + ""; + if (post.post.record.hasOwnProperty("embed")) { + if (post.post.record.embed.$type == "app.bsky.embed.images") { + for (let i of post.post.embed.images) { + document.getElementsByClassName("Images")[0].innerHTML = document.getElementsByClassName("Images")[0].innerHTML + "" + i.alt + ""; + } + } else if (post.post.record.embed.$type == "app.bsky.embed.video") { + document.getElementsByClassName("Images")[0].innerHTML = document.getElementsByClassName("Images")[0].innerHTML + ""; } } // We don't need to update the post with new information. The repos are seperate. diff --git a/JS/index.js b/JS/index.js index e8e962d..21b84a6 100644 --- a/JS/index.js +++ b/JS/index.js @@ -241,8 +241,12 @@ async function PosterContainerUpdate(Direction) { BlueskyLoadedFeed = CheckForDups(BlueskyLoadedFeed, BlueskyPostsDup, counter); BlueskyPostsDup.push(BlueskyLoadedFeed[counter].post.uri); // Check for an image - if (BlueskyLoadedFeed[CurrentThing + counter].post.record.hasOwnProperty("embed") && BlueskyLoadedFeed[CurrentThing + counter].post.record.embed.$type == "app.bsky.embed.images") { - i.getElementsByClassName("PostContent")[0].innerHTML += "This post has an image!
"; + if (BlueskyLoadedFeed[CurrentThing + counter].post.record.hasOwnProperty("embed")) { + if (BlueskyLoadedFeed[CurrentThing + counter].post.record.embed.$type == "app.bsky.embed.images") { + i.getElementsByClassName("PostContent")[0].innerHTML += "This post has an image!
"; + } else if (BlueskyLoadedFeed[CurrentThing + counter].post.record.embed.$type == "app.bsky.embed.video") { + i.getElementsByClassName("PostContent")[0].innerHTML += "This post has a video!
"; + } } // Labels if (BlueskyLoadedFeed[CurrentThing + counter].post.labels.length != 0) { -- 2.45.3 From 3d3cb1f69d3ed14d626d4ac84936e924c80e52b4 Mon Sep 17 00:00:00 2001 From: CatAClock Date: Tue, 13 May 2025 15:23:43 -0700 Subject: [PATCH 09/16] small bug fix? --- JS/BlueskyAPI.js | 1 - JS/expanded.js | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/JS/BlueskyAPI.js b/JS/BlueskyAPI.js index 2d18b84..7879277 100644 --- a/JS/BlueskyAPI.js +++ b/JS/BlueskyAPI.js @@ -47,7 +47,6 @@ export async function GetPosts(URIs) { // Get a blob (like an image or video). Authentication need not apply. export async function GetBlob(DID, CID) { - let PDS = localStorage.getItem(Variables.BlueskyPDS); let request = fetch("https://bsky.social/xrpc/com.atproto.sync.getBlob?did=" + DID + "&cid=" + CID, {method: "GET"}); let body = await request.then((response) => response.json()); return body; diff --git a/JS/expanded.js b/JS/expanded.js index 7354656..7b30090 100644 --- a/JS/expanded.js +++ b/JS/expanded.js @@ -86,7 +86,8 @@ async function GetPost() { document.getElementsByClassName("Images")[0].innerHTML = document.getElementsByClassName("Images")[0].innerHTML + "" + i.alt + ""; } } else if (post.post.record.embed.$type == "app.bsky.embed.video") { - document.getElementsByClassName("Images")[0].innerHTML = document.getElementsByClassName("Images")[0].innerHTML + ""; + let i = post.post.embed.playlist; + document.getElementsByClassName("Images")[0].innerHTML = document.getElementsByClassName("Images")[0].innerHTML + ""; } } // We don't need to update the post with new information. The repos are seperate. -- 2.45.3 From ee5f7c21cb8b777485ba910932294e257a311710 Mon Sep 17 00:00:00 2001 From: CatAClock Date: Wed, 14 May 2025 08:58:32 -0700 Subject: [PATCH 10/16] arg! --- CSS/expanded.css | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CSS/expanded.css b/CSS/expanded.css index a4a9d07..0795470 100644 --- a/CSS/expanded.css +++ b/CSS/expanded.css @@ -6,11 +6,6 @@ img, video { width: 45%; } -html { - overflow-x: hidden; - overflow-y: hidden; -} - /* Classes */ .Handle { background-color: white; -- 2.45.3 From 6e8ca0b4d864e46b771dc64d68983604c6a62e5c Mon Sep 17 00:00:00 2001 From: CatAClock Date: Tue, 20 May 2025 16:59:24 -0700 Subject: [PATCH 11/16] posting to Youtube --- HTML/post.html | 2 ++ HTML/setting.html | 6 ++++++ JS/Variables.js | 5 ++++- JS/YoutubeAPI.js | 20 ++++++++++++++++++++ JS/post.js | 15 +++++++++++++-- JS/setting.js | 34 +++++++++++++++++++++++++++++++++- README.md | 1 + 7 files changed, 79 insertions(+), 4 deletions(-) create mode 100644 JS/YoutubeAPI.js diff --git a/HTML/post.html b/HTML/post.html index 55733ca..15dc869 100644 --- a/HTML/post.html +++ b/HTML/post.html @@ -24,6 +24,8 @@ + +

POST!

diff --git a/HTML/setting.html b/HTML/setting.html index d085474..71c471d 100644 --- a/HTML/setting.html +++ b/HTML/setting.html @@ -32,6 +32,12 @@ +
+ + + + +