FlashX.tv AutoDownloader

Open a FlashX.tv video and wait for the download to start. The script will do everything while preventing ads/popups

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         FlashX.tv AutoDownloader
// @namespace    FlashX.tv AutoDownloader
// @version      1.0
// @description  Open a FlashX.tv video and wait for the download to start. The script will do everything while preventing ads/popups
// @author       Anon043
// @match        https://www.flashx.tv/*
// @require      http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// ==/UserScript==

(function() {
    $(document).ready(function() {
        // Per premere il pulsante dopo 5s senza dover cliccare
        setTimeout(function () {
            if($("#btn_download")) $("#btn_download").click(); // Click() non richiama eventi bindati su OnClick, evitando gli Ads
        }, 4000);
        // Per premere il pulsante "play" senza dover cliccare
        setTimeout(function () {
            if($(".vjs-big-play-button")) $(".vjs-big-play-button").click(); // Click() non richiama eventi bindati su OnClick, evitando gli Ads
            setTimeout(function () {
                if($(".vjs-download-button-control") && $(".vjs-download-button-control").attr("href")) {
                    var Titolo = $("#file_title").text().replace("[Put the lights off - Cinema Modus]", "").trim();
                    window.location.href = $(".vjs-download-button-control").attr("href").replace("normal.mp4", Titolo + ".mp4");
                }
            }, 1000);
        }, 1000);
    });
})();