Embed - 废柴视频网

允许直接播放VIP视频❗

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name         Embed - 废柴视频网
// @namespace    https://greasyfork.org/zh-CN/users/108076
// @version      1.8.9
// @description  允许直接播放VIP视频❗
// @author       草木灰
// @match        http*://fcw.xxx/*
// @match        http*://fcw.cool/*
// @match        http*://newfcw.info/*
// @include      /(^[^:\/#\?]*:\/\/([^#\?\/]*\.)?fcw[0-9][0-9]\.com(:[0-9]{1,5})?\/.*$)/
// @include      /(^[^:\/#\?]*:\/\/([^#\?\/]*\.)?fcww[0-9][0-9]\.com(:[0-9]{1,5})?\/.*$)/
// @icon         https://www.google.com/s2/favicons?domain=fcw.xxx
// @grant        none
// ==/UserScript==

(function () {

    'use strict';

    var origin = document.location.origin;
    var PRO_VIDEO_ID = document.location.pathname.replace(/videos\/([\d]+)\/(.*)/, "embed/$1");
    // console.log(origin);

    if ($(".no-player").length === 1) {
        $('.player').html('<iframe width="100%" height="566" src=' + origin + PRO_VIDEO_ID + ' frameborder="0" allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>');
    }
    // Your code here...
})();