Turn kemono.party fluid player into video link

Makes it real easy to download or open the raw video, as it turns the video name into a clickable link.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Turn kemono.party fluid player into video link
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Makes it real easy to download or open the raw video, as it turns the video name into a clickable link.
// @author       PowfuArras // Discord: @xskt
// @match        *://kemono.party/*
// @match        *://kemono.su/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=kemono.party
// @grant        none
// @run-at       document-start
// @license      FLORRIM DEVELOPER GROUP LICENSE (https://github.com/Florrim/license/blob/main/LICENSE.md)
// ==/UserScript==

(function() {
    "use strict";
    window.addEventListener("load", function () {
        const videos = document.querySelectorAll(".post__video");
        for (let i = 0; i < videos.length; i++) {
            const element = videos[i];
            const summery = element.parentElement.parentElement.children[0];
            const hyperlink = document.createElement("a");
            hyperlink.textContent = summery.textContent;
            hyperlink.target = "_blank";
            hyperlink.href = element.children[0].src;
            hyperlink.appendChild(document.createElement("br"))
            summery.parentElement.prepend(hyperlink);
            summery.remove();
        }
    });
})();