diff --git a/YoutubeConfig.json b/YoutubeConfig.json index e12796871986c221ac230509652e272c44e67b72..9865d2d67eab606de7f1a25d5373ac4915e42c5a 100644 --- a/YoutubeConfig.json +++ b/YoutubeConfig.json @@ -7,7 +7,7 @@ "sourceUrl": "https://plugins.grayjay.app/Youtube/YoutubeConfig.json", "repositoryUrl": "https://futo.org", "scriptUrl": "./YoutubeScript.js", - "version": 166, + "version": 167, "iconUrl": "./youtube.png", "id": "35ae969a-a7db-11ed-afa1-0242ac120002", diff --git a/YoutubeScript.js b/YoutubeScript.js index bfc793864ea5b4c819db0e696361f0611f49b950..906ef5389577501e919c5c7ff206e3273b4170b5 100644 --- a/YoutubeScript.js +++ b/YoutubeScript.js @@ -3483,7 +3483,7 @@ function extractNavigationEndpoint_Url(navEndpoint, baseUrl) { } function extractAgoTextRuns_Timestamp(runs) { - const runStr = extractRuns_String(runs); + const runStr = (typeof runs === "string") ? runs : extractRuns_String(runs); return extractAgoText_Timestamp(runStr); } function extractAgoText_Timestamp(str) {