91

这是一个普普通通的91短视频网站脚本

As of 2022-03-05. See the latest version.

// ==UserScript==
// @name         91

// @version      0.3
// @antifeature  ads
// @description  这是一个普普通通的91短视频网站脚本
// @author       geigei717
// @match        https://0822.workgreat17.live/
// @icon         https://www.tupians.top/imgs/2022/02/3163ca82cd12c66e.png
// @include      https://0822.workgreat17.live/view_video.php?viewkey=*
// @include      *.live/view_*
// @include      *.live/v.php?*
// @grant        none

// @namespace https://greasyfork.org/users/877579
// ==/UserScript==

(function() {
    var vid = $("#VID").attr('value');
    $("#useraction").append('<textarea rows="2" name="video_link" id="fm-video_link" class="fullboxtext" onclick="this.focus();this.select()" readonly="readOnly">http://91.9p9.xyz/ev.php?VID='+vid+'</textarea>');
//    $("#useraction").append(' <div class="video-container"> <iframe src="https://91.9p9.xyz/ev.php?VID='+vid+'"  scrolling="no" width="750px" height="500px"></iframe> </div>')
    $(".video-container").remove();
    $("#videodetails > b").remove();
    $("#videodetails > br").remove();
    $("#videodetails:first").append('<br><iframe src="https://91.9p9.xyz/ev.php?VID='+vid+'"  scrolling="no"   width="100%" height="500px" frameborder="0" allowfullscreen="true"></iframe> <br>')
    $("h3").after('<br><img src="https://s4.ax1x.com/2022/02/17/HIaA3R.jpg"  border="0" width="100%" height="100%" />  <br>')

    $(document).bind('DOMNodeInserted', function(event) {
        $('a[href^="http"]').each(
            function(){
                if (!$(this).attr('target')) {
                    $(this).attr('target', '_blank')
                }});
    });
})();