From c1bf3f952df854a8e13b68492eaeb44d17921e24 Mon Sep 17 00:00:00 2001 From: RedNotSus Date: Tue, 10 Sep 2024 04:33:17 +0000 Subject: [PATCH 1/8] Prettified Code! --- static/assets/js/frame.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/assets/js/frame.js b/static/assets/js/frame.js index e2d5cc02..16fd5e30 100644 --- a/static/assets/js/frame.js +++ b/static/assets/js/frame.js @@ -43,7 +43,7 @@ window.addEventListener("DOMContentLoaded", function () { if (searchBar) { searchBar.setAttribute( "value", - decodeURL(sessionStorage.getItem("encodedUrl")) + decodeURL(sessionStorage.getItem("encodedUrl")), ); // search bar functionality searchBar.addEventListener("keydown", function (event) { @@ -66,7 +66,7 @@ function reload() { document.onfullscreenchange = function () { document.body.classList.toggle( "fullscreen-active", - document.fullscreenElement + document.fullscreenElement, ); iframe = document.getElementById("iframeid"); if (document.fullscreenElement) { From 7c6b70692f2c749caab052fb79dff5ef5b04acca Mon Sep 17 00:00:00 2001 From: rednotsus Date: Tue, 10 Sep 2024 08:11:41 -0500 Subject: [PATCH 2/8] Update math.html --- static/math.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/math.html b/static/math.html index 3cd707e7..51b1cc57 100644 --- a/static/math.html +++ b/static/math.html @@ -7,7 +7,7 @@ - + Google From 26071c429f5218ceacd92acfa43ad106a69ee357 Mon Sep 17 00:00:00 2001 From: rednotsus Date: Tue, 10 Sep 2024 09:06:25 -0500 Subject: [PATCH 3/8] Update media.js --- static/assets/js/media.js | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/static/assets/js/media.js b/static/assets/js/media.js index 2c70f948..9a8f80c2 100644 --- a/static/assets/js/media.js +++ b/static/assets/js/media.js @@ -44,7 +44,7 @@ function fetchTmdbId() { `; } else if (movie.media_type === "movie") { - let link = `https://vidlink.pro/movie/${movie.id}?icons=vid`; + let link = `https://vidlink.pro/movie/${movie.id}`; gameHtml = `
★ ${rating}
${year}
@@ -101,7 +101,7 @@ async function displayPopular() {
`; } else if (movie.media_type === "movie") { - let link = `https://vidlink.pro/movie/${movie.id}?icons=vid`; + let link = `https://vidlink.pro/movie/${movie.id}`; gameHtml = `
★ ${rating}
${year}
@@ -141,3 +141,23 @@ document.addEventListener("DOMContentLoaded", function () { }); displayPopular(); }); + +function promptForSeasonAndEpisode(videoId) { + const season = prompt("Enter season number:"); + const episode = prompt("Enter episode number:"); + if (!season || !episode) { + return; + } else if (isNaN(season) || isNaN(episode)) { + alert("Season and episode must be numbers"); + return; + } else if (season < 1 || episode < 1) { + alert("Season and episode must be greater than 0"); + return; + } else if (season.includes(".") || episode.includes(".")) { + alert("Season and episode must be whole numbers"); + return; + } + + const link = `https://vidlink.pro/tv/${videoId}/${season}/${episode}`; + hire(link); +} From 9e1063b693198b36cdda241fea9af74bdcd8f0be Mon Sep 17 00:00:00 2001 From: RedNotSus Date: Tue, 10 Sep 2024 14:06:42 +0000 Subject: [PATCH 4/8] Prettified Code! --- static/assets/js/media.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/assets/js/media.js b/static/assets/js/media.js index 9a8f80c2..04a95e24 100644 --- a/static/assets/js/media.js +++ b/static/assets/js/media.js @@ -67,7 +67,7 @@ function fetchTmdbId() { async function displayPopular() { const response = await fetch( - "https://api.themoviedb.org/3/trending/all/week?api_key=d93115754010beb32ae8956c26dbc590" + "https://api.themoviedb.org/3/trending/all/week?api_key=d93115754010beb32ae8956c26dbc590", ); const data = await response.json(); const popular = data.results; From e5ba05470f12a60a43429407dec1b4ec382f030b Mon Sep 17 00:00:00 2001 From: rednotsus Date: Tue, 10 Sep 2024 09:07:20 -0500 Subject: [PATCH 5/8] Update math.html --- static/math.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/math.html b/static/math.html index 51b1cc57..b18d306f 100644 --- a/static/math.html +++ b/static/math.html @@ -19,7 +19,7 @@ content="unblocked games, 55gms tk, 55gms, reds exploit corner, games, unblocked, site, lanier, lanier middle school, gg, Minecraft, discord, chromebook, chromeos, rednotsus, vanillacraft, eaglercraft unblocked, resent client unblocked, fun, cool, proxy, slope unblocked, free, unblocked monkey mart, 555gms, 5gms, school" /> - + @@ -67,4 +67,4 @@ - \ No newline at end of file + From 69db13eacb19be31da55677f1e4368aa355584d2 Mon Sep 17 00:00:00 2001 From: rednotsus Date: Tue, 10 Sep 2024 10:48:24 -0500 Subject: [PATCH 6/8] Update !.html --- static/!.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/!.html b/static/!.html index bd54d276..7d7d856a 100644 --- a/static/!.html +++ b/static/!.html @@ -2,7 +2,7 @@ - Courses + Google @@ -47,4 +47,4 @@ - \ No newline at end of file + From 8f8eeb0cff09435092c211ada3f517fee69fd0ac Mon Sep 17 00:00:00 2001 From: rednotsus Date: Tue, 10 Sep 2024 11:44:29 -0500 Subject: [PATCH 7/8] Update media.js --- static/assets/js/media.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/assets/js/media.js b/static/assets/js/media.js index 04a95e24..47947805 100644 --- a/static/assets/js/media.js +++ b/static/assets/js/media.js @@ -158,6 +158,6 @@ function promptForSeasonAndEpisode(videoId) { return; } - const link = `https://vidlink.pro/tv/${videoId}/${season}/${episode}`; + const link = `https://vidlink.pro/tv/${videoId}/${season}/${episode}?nextbutton=true`; hire(link); } From 116fc2e2c2c38cbfaa6ab2cff9d8e40e7a8e68f5 Mon Sep 17 00:00:00 2001 From: rednotsus Date: Tue, 10 Sep 2024 12:06:05 -0500 Subject: [PATCH 8/8] Update math.html --- static/math.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/math.html b/static/math.html index b18d306f..3c75a7eb 100644 --- a/static/math.html +++ b/static/math.html @@ -19,7 +19,7 @@ content="unblocked games, 55gms tk, 55gms, reds exploit corner, games, unblocked, site, lanier, lanier middle school, gg, Minecraft, discord, chromebook, chromeos, rednotsus, vanillacraft, eaglercraft unblocked, resent client unblocked, fun, cool, proxy, slope unblocked, free, unblocked monkey mart, 555gms, 5gms, school" /> - +