老司机带带我

avgle提取m3u8播放地址,并利用Native HLS Playback实现免点击播放功能

Pada tanggal 03 November 2017. Lihat %(latest_version_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 老司机带带我
// @namespace https://greasyfork.org/zh-CN/users/14853
// @author bibubi
// @description  avgle提取m3u8播放地址,并利用Native HLS Playback实现免点击播放功能  
// @description  isAutoPlay自动新窗口播放开关(true为自动播放  false为按钮确认)
// @match        *://avgle.com/*
// @require http://cdn.bootcss.com/jquery/1.8.3/jquery.min.js
// @version  0.0.1
// @grant  GM_addStyle
// ==/UserScript==
(function (){
    'use strict';
    $(function (){
        //自动新窗口播放开关  true为自动播放  false为按钮确认
        var isAutoPlay = false;
        //获取播放器(video)对象
        var video = $("source");
        var video_url = null;
        if (video){
            video_url = video.attr("src"); //获取视频链接地址
            console.warn("测试:",video_url);
            var mymessage=confirm("捕获视频成功,新窗口播放? \n如若无法播放,请配合\"Native HLS Playback\"食用");
            if(mymessage==true){
                console.warn("很好,加油!");
                window.open(video_url);
            }
        }
    });
})();