VivaLaVida / 下载器

// ==UserScript==
// @name         下载器
// @version      1.3
// @description  文件下载器
// @author       Viva La Vida
// @run-at       document-start
// @match        *
// @license      MIT
// @require      http://code.jquery.com/jquery-1.9.1.min.js
// @icon         data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAciklEQVR4Xu2dCXhU1dnHz7mThSyTDQhhyTJhJyQhgJR9T1gKqAVE0IbSgjsWoR+VJWFcKi6AWv0E1D6yKUip+rnVCv2ggpBEi6LsgSwkQoBskMk+c0/fOyFpMJPMuTeZzMy9732eeQLPvO9Zfuf+5+znUIIPEkACzRKgyAYJIIHmCaBA8O1AAi0QcGuBjDce9NCZfafqBDKUURrJRMtFxnTf/vPZYV9gqbcdgWnGtB6MMA8pxCpSlX/IOMHcdqG7dkhuK5DJxmPjqSi8A3ijmiKmZ5kgLjlgHH7EtfG7buqkHx8vs+8MJpAVkMrRjVJaSCj5SKCWF/5hHHnBdXPQNilzS4FMWps+QxDIh4DA+qvWzGMmTFyy/5kR29oGlXZCkcThyXx3E0bmNJdreHEKiGCZ8KVx5Fk1k3E7gUjVvVmkP0KhBHEUjIkKljvUXogcHGSZJK7LAHGwe+05SSKpEbz6HzImlNqzddfv3U4gievSN8Iv23Ju4Ixt2//M8EXc9ho3nJyS/hil5DVeDJTQ1V8+PWw9r7272bmfQFLTpdpjoBzQokinYcfdPjFr00r0A76sn33rBovS/U//IliGvVuZupVAoHkVYLbQy9BJ9JNDmTHyhae5Ovnv68del+OnNVuonf8EtfNqefmmNRVVNZ2+fnF0mTw/97B2P4GINBvQhsjGy8iKN3877I0bYtlQJlDo3JtzEgzBObLDUanDpNS0CQKh2yF74XKzyARd5AHj0EvfX7w5Gka9ekn+VCSFgYL+gMFAq+SG50r2biUQCVxiavo38GeoXIheHkLNmrm9av066P5b+1ByUmRkY2mOfteECVQzY/u22EHtsRlqj4fkcgX7qj/M7DWrayev1TBXMv42f0pMlJF9uoqqpTExoSYFYTvdxR0F8keg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WkWAEhNl9G0doS/IFUZ9vO0ikPrITuWWDagVyRiBstGMWfsoka0CgM5IoDEBWKZOGTkCO2KPiIweoT5+R+LDaHlrILWrQBon9NSpa/5mH6+p0GEKEwShC5zS1QMWRfaADPIdWtSaXKOvKggw6FPAC1wgiuJVeHfyBcLOxhsC09oyc04TSFtmAsNCAo4igAJxFFkMVxUEUCCqKEbMhKMI/AfiO1rHtnNJXgAAAABJRU5ErkJggg==
// @grant        GM.getValue
// @grant        GM.setValue
// @grant        GM_download
// @grant        GM_addStyle

// ==/UserScript==

(async () => {

  const _0x1737 = ['number', 'MAX_VALUE', 'createObjectURL', 'substr', 'lastIndexOf', 'src', 'top', 'parent', 'data', 'operate', 'Response_API_GET_HOST', 'removeEventListener', 'message', 'href', 'postMessage', 'Playlist', 'API_Playlist_Detector', 'API_GET_HOST', 'addEventListener', 'apply', 'title', 'undefined', 'document', 'constructor', 'name', 'HTMLVideoElement', 'video', 'audio', 'HTMLSourceElement', 'closest', 'duration', 'querySelectorAll', 'source', 'forEach', 'type', 'observer', 'observe', 'childNodes', 'addedNodes', 'createElement', 'call', 'toString', 'readyState', 'complete', 'interactive', 'ready', 'DOMContentLoaded', 'function *\\( *\\)', '\\+\\+ *(?:[a-zA-Z_$][0-9a-zA-Z_$]*)', 'init', 'chain', 'input', 'return (function() ', '{}.constructor(\"return this\")( )', 'console', 'log', 'warn', 'debug', 'info', 'error', 'exception', 'table', 'trace', 'youtube.com', 'iqiyi.com', 'v.qq.com', 'mgtv.com', 'sogou.com', 'sogoucdn.com', 'wap.sogou.com', 'location', 'host', 'indexOf', 'stopImmediatePropagation', 'clipboardData', 'setData', 'text/plain', 'copy', '复制成功', 'body', 'appendChild', 'execCommand', 'removeChild', '__videolist__', 'pid', 'videoElement', 'pageSrc', 'push', 'API_Playlist_Detector_LongPress', 'enabled_longpress', '.__playlistDetector-video-list-dialog', '__playlistDetector_scan_id__', 'getElementById', 'div', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA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k5ATS0tLg/PxcaF5RycgKwQX+88/VNOcaVlZWQtb78+dPyM/Ph42NDSH51EhCWgguGI9jEaKIwBezHzv2FZFfRA7yQiwtLQFfiAsJCTFpvbu7u/Du3Tu4u7szKY/ak8kLQQBubm4wNjYGTk5ORvG4vr6Gt2/fwvHxsVHzzTlJCiEIBM83WlpajGJTWVkJc3NzRs019yRphCAYfDbBZxRDYnFxEUpLSw2Z8qxjpRJib28PIyMj/3mf9zGCP3780NziXlxcPCtkQy4ulRBcGG6ZDAwMAJ4a6or7+3vNb0e2t7cN4fHsY1UXEhUVpTj73t/fB7zjMSXw8KmoqEhniu7ubs3dmSkREBCgeJHi7OwMVlZWTEn55FzVhQwODkJgYOCfQvr6+qCzs/PJwnQNwFthfJ74+7chv+fgSSF2Bz4ImhL4Ih6+kPc7dnZ2IDs725SUT86VUgiuytXVVbO14uzsrFjk5eWl5ntDxHk6C3ny70c5AD8O/z6EKi8vh2/fvhmYSftwFmIExn+/UopvouBZiahgIUaQtLGxgeHhYcBb4vT0dKE/1GEhRgjBKb6+vmBrawv4pSsyWIhImgJysRABEEWmYCEiaQrIxUIEQBSZgoWIpCkgFwsRAFFkiv+FENx93dzcFMlNtVxv3ryB169f/8n/IveyVKNnhsQsxAyQDbkECzGElhnGvggheA7u4+NjBlzqX+Lw8FD1f46m+nmI+phe1hVYCDGfLISFECNArBzuEBZCjACxcrhDWAgxAsTK4Q5hIcQIECuHO4SFECNArBzuEBZCjACxcrhDWAgxAsTK4Q5hIcQIECuHO4SFECNArBzuEBZCjACxcrhDWAgxAsTK+QVdYnxfERtzagAAAABJRU5ErkJggg==', 'background-image', 'center', '__internal__addons__', 'getAttribute', 'style', ' z-index:2147483646 !important', 'addClass', '__playlistDetector-countNumber', 'text', 'preventDefault', 'stopPropagation', 'touchstart', 'originalEvent', 'touches', 'pageX', 'pageY', 'position', 'touchmove', 'css', 'left', 'width', '20px', 'auto', 'attr', 'append', '__playlistDetector-video-list-dialog', '__playlistDetector-titleLabel', '__playlistDetector-close-logo', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAMAAAArteDzAAAACXBIWXMAAB7CAAAewgFu0HU+AAAAUVBMVEX7+/szJ1emobbCv8wrH1EvI1Q2LFsoHE7////9/f28uMetqbvT0drt7O/QzdfIxdG2s8P39vfMytW1scHW1N17dJTf3eM7MF5MQmyKg55dU3mBdUnnAAAGWklEQVRYCY2ZiVbbSBBFBREWhnhAQ4Ak//+hU2+p6movMIrV6q7l1uvFwudkefzmOh6PS79i/E3G4+PyZUTj7csSH1/fgL+AmkgaeL6N/op7EypkwkolkeLext6AEjkAYovVFd9Y3qtQIAexVMIofK3vdbVXoF7LjkXfOgtr2zWxl9BgFkK61FJ9kgd6WS6x51DLLA6zWxPd8JWbRS6oZ1AyGam8yp65Pq7pPafOUDAzcqyigB2LPuIy+ow6QbWcLXxOLkfxSsBM7dCr61l5JOlMdZmWO1EbVDoniEGeppWWYPBiwKDpDAyodCoi12qSlBXwdL9HN60FBVMx42sDJXGZoA4GZVDfw0EtqGMZkOkxaBXgsru4aaO9qAk9Zny4K1M9DtFkx8s4h2GU72Z3+oIqP1pmadTnUWZE9LDarIROzpHGXoqM5ygk4GxIqqAS2jJa1+VK1Kh4ViMKeFUFBUOiWotuv2ehlTKFiEpoHqdGVA0Zks2RGzzyVqzG3CtAvfOKGa1j26GaK02zzwqUKqiquAV2Tjg3RISPVU+RHEgF1JKyGANJVhjsZ3L3n7/k62EqDakB1YrS3RXufw7r318pOT0Me/nctt8fgpSUPB6C2jkLXJb3bdvWz5/yBgs43S934dp+781Ij5qE0juSmHxakbmBCo8aPsGEU/UyrcJi/otnP6UB8kGmqEnkDKUzvP/2Sq0yoCDEpYoUFf349zmo3Wfmun1i+gwd6TQYSgVw4RJ3Wd40/2075ArAJ2a41h8jlinVHB+X2HthotVHj3157lQ7Xx6s/+HJeRJUiKgU0EeO0QyHep1qf67nuj4pfOS0fCqln+6psVZMFSsQF3RiuAUzrguilzG2Ca7h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ADDnJ+DeIY5AbbaQmtbz4vph8EnC6GG8NF0oavJZNAsMyBt91Wun1drwkMf4VhmNBfMS6gPrPSkJtMJSk9WvGReg3oJQDBF3Wqbxy9QTbLai+nTw28XkRdHQZWSW5ypcx2aa4DcEqxB4sJ8/b8jAn8L2rDCjNZlrqxlyr0NjYjpJIwFDv5NkeR+CQVX/3EGnVzNeGt+IdFSv4OCi3/Bjvt/AMH9D2Jjhme1ngxCAAAAAElFTkSuQmCC', 'url(', '__playlistDetector-video-list', 'height', '__playlistDetector-video-list-cell', '__playlistDetector-title', '__playlistDetector-downloadButton', 'click', 'fadeIn', 'fadeOut', 'remove', 'string', 'while (true) {}', 'counter', 'length', 'debu', 'stateObject'];
  const _0x26c4 = function (_0x173777, _0x26c485) {
    _0x173777 = _0x173777 - 0x0;
    let _0x10d736 = _0x1737[_0x173777];
    return _0x10d736;
  };

  function is_nan(_0x2e5f7e) {
    return typeof _0x2e5f7e === 'number' && _0x2e5f7e !== _0x2e5f7e;
  }

  function is_infinite(_0x36caad) {
    return typeof _0x36caad === _0x26c4('0x0') && (_0x36caad === Infinity || _0x36caad === -Infinity);
  }

  function clamp_duration(_0x142142) {
    if (is_nan(_0x142142)) {
      return 0x0;
    }
    if (is_infinite(_0x142142)) {
      return Number[_0x26c4('0x1')];
    }
    return _0x142142;
  }

  function sendMessage(_0x49e953) {
    handleDetectResult(_0x49e953);
  }
  let css = '.__playlistDetector-video-list-mask {\x0a    display: none;\x0a        \x0a    box-sizing: border-box;\x0a    position: fixed;\x0a\x0a    left: 0px;\x0a    top: 0px;\x0a    right: 0px;\x0a    bottom: 0px;\x0a\x0a    background-color: rgba(0, 0, 0, .2);\x0a\x0a    z-index:2147483646 !important;\x0a}\x0a\x0a.__playlistDetector-video-list-dialog {\x0a    display: none;\x0a    \x0a    box-sizing: border-box;\x0a    position: fixed;\x0a    height: 300px;\x0a    \x0a    width: 75%;\x0a    /*适配iPad*/\x0a    max-width: 768px;\x0a    min-width: 350px;\x0a    \x0a    left: 50%;\x0a    top: 50%;\x0a    transform: translate(-50%, -50%);\x0a\x0a    background-color: #fff;\x0a\x0a    border-radius:10px;\x0a    box-shadow: 0px 5px 10px rgba(0, 0, 0, .4);\x0a\x0a    z-index:2147483647 !important;\x0a}\x0a\x0a.__playlistDetector-video-list-dialog .__playlistDetector-titleLabel {\x0a    box-sizing: border-box;\x0a\x0a    position: absolute;\x0a    top: 15px;\x0a    left: 50%;\x0a    transform:translateX(-50%);\x0a\x0a    text-align: center;\x0a    font-size: 16px;\x0a    color: #222;\x0a}\x0a\x0a.__playlistDetector-video-list-dialog .__playlistDetector-close-logo {\x0a    box-sizing: border-box;\x0a\x0a    height: 30px;\x0a    width: 30px;\x0a\x0a    background-size: 30px 30px;\x0a    position: absolute;\x0a    right: 10px;\x0a    top: 10px;\x0a\x0a    background-repeat: no-repeat;\x0a    background-position: center;\x0a}\x0a\x0a.__playlistDetector-video-list-dialog .__playlistDetector-video-list {\x0a    box-sizing: border-box;\x0a\x0a    position: absolute;\x0a    top: 50px;\x0a    left: 10px;\x0a    right: 10px;\x0a    bottom: 10px;\x0a\x0a    border-radius: 10px;\x0a    background-color: #f5f5f5;\x0a\x0a    overflow-y: auto;\x0a\x0a    display: flex;\x0a    flex-direction: column;\x0a\x0a    padding: 10px;\x0a}\x0a\x0a.__playlistDetector-video-list .__playlistDetector-video-list-cell {\x0a    box-sizing: border-box;\x0a\x0a    flex-shrink: 0;\x0a\x0a    height: 60px;\x0a\x0a    background-color: #fff;\x0a    border-bottom: 0.5px solid #f5f5f5;\x0a\x0a    position: relative;\x0a\x0a    display: flex;\x0a    flex-direction: row;\x0a    justify-content: flex-start;\x0a    align-items: center;\x0a}\x0a\x0a.__playlistDetector-video-list-cell .__playlistDetector-title {\x0a    box-sizing: border-box;\x0a\x0a    font-size: 16px;\x0a    color: #333;\x0a\x0a    overflow: hidden;\x0a    text-overflow: ellipsis;\x0a    white-space: nowrap;\x0a\x0a    text-align: left;\x0a\x0a    position: absolute;\x0a    right: 80px;\x0a    left: 15px;\x0a}\x0a\x0a.__playlistDetector-video-list-cell .__playlistDetector-downloadButton {\x0a    box-sizing: border-box;\x0a\x0a    text-align: center;\x0a    display: flex;\x0a    flex-direction: column;\x0a    justify-content: center;\x0a    align-self: center;\x0a\x0a    color: #fff;\x0a    background-color: #2D7AFE;\x0a\x0a    font-size: 14px;\x0a    border-radius: 12px;\x0a\x0a    position: absolute;\x0a    right: 10px;\x0a\x0a    padding-left: 12px;\x0a    padding-right: 12px;\x0a    height: 25px;\x0a}\x0a\x0a.__playlistDetector-video-list-cell:first-child {\x0a    border-top-left-radius: 10px;\x0a    border-top-right-radius: 10px;\x0a}\x0a\x0a.__playlistDetector-video-list-cell:last-child {\x0a    border-bottom-left-radius: 10px;\x0a    border-bottom-right-radius: 10px;\x0a}\x0a\x0a.__playlistDetector-countNumber {\x0a    background-color: #FF2626;\x0a    \x0a    position:absolute;\x0a    right: -6px;\x0a    top: -6px;\x0a    height: 18px;\x0a    line-height: 18px;\x0a    \x0a    border-radius: 9px;\x0a    font-size: 13px;\x0a    color: #fff;\x0a    padding: 0px 6px;\x0a    font-family: PingFangSC-Regular;\x0a        \x0a        \x0a    display: flex;\x0a    justify-content: center;\x0a    align-items: center;\x0a}\x0a';
  GM_addStyle(css);

  function _uuid() {
    var _0x21fb55 = URL[_0x26c4('0x2')](new Blob());
    var _0x263ee8 = _0x21fb55['toString']();
    URL['revokeObjectURL'](_0x21fb55);
    return _0x263ee8[_0x26c4('0x3')](_0x263ee8[_0x26c4('0x4')]('/') + 0x1);
  }

  function handleDetectResult(_0x45fb2d) {
    if (_0x45fb2d[_0x26c4('0x5')] == undefined || _0x45fb2d[_0x26c4('0x5')] == null || _0x45fb2d[_0x26c4('0x5')] == '') {
      return;
    }
    let _0x1d9dd8 = window[_0x26c4('0x6')] || window[_0x26c4('0x7')];
    let _0x379cb9 = _uuid();
    const _0x3bce89 = function (_0x264bd8) {
      if (_0x264bd8[_0x26c4('0x8')]['pid'] != _0x379cb9 || _0x264bd8[_0x26c4('0x8')][_0x26c4('0x9')] !== _0x26c4('0xa')) return;
      window[_0x26c4('0xb')](_0x26c4('0xc'), _0x3bce89);
      let _0x126330 = _0x264bd8['data'][_0x26c4('0xd')];
      _0x45fb2d['pageSrc'] = _0x126330;
      _0x1d9dd8[_0x26c4('0xe')]({
        'from': _0x26c4('0xf'),
        'operate': _0x26c4('0x10'),
        'videoElement': _0x45fb2d
      }, '*');
    };
    let _0x10efa4 = {
      'operate': _0x26c4('0x11'),
      'pid': _0x379cb9
    };
    window[_0x26c4('0x12')](_0x26c4('0xc'), _0x3bce89);
    _0x1d9dd8[_0x26c4('0xe')](_0x10efa4, '*');
  }

  function setupDetector() {
    const _0x45a7ba = function () {
      let _0x56e9ef = !![];
      return function (_0x3cd6d8, _0x63be1b) {
        const _0x3c4abc = _0x56e9ef ? function () {
          if (_0x63be1b) {
            const _0x9decfd = _0x63be1b[_0x26c4('0x13')](_0x3cd6d8, arguments);
            _0x63be1b = null;
            return _0x9decfd;
          }
        } : function () {};
        _0x56e9ef = ![];
        return _0x3c4abc;
      };
    }();
    const _0x157269 = function () {
      let _0x7cb428 = !![];
      return function (_0x1de208, _0x215169) {
        const _0x1d6f1c = _0x7cb428 ? function () {
          if (_0x215169) {
            const _0x11d4cc = _0x215169[_0x26c4('0x13')](_0x1de208, arguments);
            _0x215169 = null;
            return _0x11d4cc;
          }
        } : function () {};
        _0x7cb428 = ![];
        return _0x1d6f1c;
      };
    }();

    function _0x1ece8d(_0x371e39, _0x381b84, _0x118bf0) {
      var _0x4a2691 = _0x371e39[_0x26c4('0x14')];
      if (_0x4a2691 == null || typeof _0x4a2691 == _0x26c4('0x15') || _0x4a2691 == '') {
        try {
          _0x4a2691 = window['top'][_0x26c4('0x16')][_0x26c4('0x14')];
        }
        catch (_0x468c37) {
          _0x4a2691 = document[_0x26c4('0x14')];
        }
      }
      if (_0x118bf0 == null || typeof _0x118bf0 == _0x26c4('0x15') || _0x118bf0 == '') {
        if (_0x371e39[_0x26c4('0x17')][_0x26c4('0x18')] == _0x26c4('0x19')) {
          _0x118bf0 = _0x26c4('0x1a');
        }
        if (_0x371e39['constructor']['name'] == 'HTMLAudioElement') {
          _0x118bf0 = _0x26c4('0x1b');
        }
        if (_0x371e39[_0x26c4('0x17')][_0x26c4('0x18')] == _0x26c4('0x1c')) {
          videoNode = _0x371e39[_0x26c4('0x1d')](_0x26c4('0x1a'));
          if (videoNode != null && typeof videoNode != 'undefined') {
            _0x118bf0 = _0x26c4('0x1a');
          }
          else {
            _0x118bf0 = 'audio';
          }
        }
      }
      if (_0x381b84 !== '') {
        var _0x18bef4 = '';
        try {
          _0x18bef4 = window['top'][_0x26c4('0x16')][_0x26c4('0x14')];
        }
        catch (_0x3ed20b) {
          _0x18bef4 = document[_0x26c4('0x14')];
        }
        let _0x69b3eb = {
          'name': _0x4a2691,
          'src': _0x381b84,
          'pageTitle': _0x18bef4,
          'mimeType': _0x118bf0,
          'duration': clamp_duration(_0x371e39[_0x26c4('0x1e')])
        };
        sendMessage(_0x69b3eb);
      }
      else {
        var _0x55ad91 = _0x371e39;
        document[_0x26c4('0x1f')](_0x26c4('0x20'))[_0x26c4('0x21')](function (_0x1d2930) {
          if (_0x1d2930['src'] !== '') {
            var _0x446c84 = '';
            try {
              _0x446c84 = window[_0x26c4('0x6')][_0x26c4('0x16')][_0x26c4('0x14')];
            }
            catch (_0x19e89b) {
              _0x446c84 = document[_0x26c4('0x14')];
            }
            if (_0x1d2930[_0x26c4('0x1d')]('video') === _0x55ad91) {
              sendMessage({
                'name': _0x4a2691,
                'src': _0x1d2930[_0x26c4('0x5')],
                'pageTitle': _0x446c84,
                'mimeType': _0x118bf0,
                'duration': clamp_duration(_0x55ad91['duration'])
              });
            }
            if (_0x1d2930[_0x26c4('0x1d')](_0x26c4('0x1b')) === _0x55ad91) {
              sendMessage({
                'name': _0x4a2691,
                'src': _0x1d2930[_0x26c4('0x5')],
                'pageTitle': _0x446c84,
                'mimeType': _0x118bf0,
                'duration': clamp_duration(_0x55ad91[_0x26c4('0x1e')])
              });
            }
          }
        });
      }
    }

    function _0x3ce9f7(_0xf51286) {
      _0x1ece8d(_0xf51286, _0xf51286[_0x26c4('0x5')], _0xf51286[_0x26c4('0x22')]);
    }

    function _0x1b3db6(_0x12807a) {
      function _0x196e67(_0x2e1716) {
        if (_0x2e1716[_0x26c4('0x23')] == null || _0x2e1716['observer'] === undefined) {
          _0x2e1716[_0x26c4('0x23')] = new MutationObserver(function (_0x11a592) {
            _0x3ce9f7(_0x2e1716);
          });
          _0x2e1716['observer'][_0x26c4('0x24')](_0x2e1716, {
            'attributes': !![],
            'attributeFilter': [_0x26c4('0x5')]
          });
          _0x3ce9f7(_0x2e1716);
          _0x2e1716[_0x26c4('0x12')]('loadedmetadata', function () {
            _0x3ce9f7(_0x2e1716);
          });
        }
      }
      for (const _0x5d5eb4 of _0x12807a[_0x26c4('0x25')]) {
        _0x196e67(_0x5d5eb4);
      }
      _0x196e67(_0x12807a);
    }

    function _0x46a0ac(_0x12647c) {
      if (_0x12647c[_0x26c4('0x23')] == null || _0x12647c[_0x26c4('0x23')] === undefined) {
        _0x12647c[_0x26c4('0x23')] = new MutationObserver(function (_0x32f8d0) {
          _0x32f8d0[_0x26c4('0x21')](function (_0x341452) {
            _0x341452[_0x26c4('0x26')]['forEach'](function (_0x35e784) {
              if (_0x35e784[_0x26c4('0x17')][_0x26c4('0x18')] == _0x26c4('0x19')) {
                _0x1b3db6(_0x35e784);
              }
              else if (_0x35e784[_0x26c4('0x17')][_0x26c4('0x18')] == 'HTMLAudioElement') {
                _0x1b3db6(_0x35e784);
              }
            });
          });
        });
        _0x12647c['observer']['observe'](_0x12647c, {
          'subtree': !![],
          'childList': !![]
        });
      }
    }

    function _0x1918fa(_0x43a183) {
      var _0xf36f50 = _0x43a183[_0x26c4('0x27')];
      _0x43a183[_0x26c4('0x27')] = function (_0x5cc9ef) {
        if (_0x5cc9ef === _0x26c4('0x1b') || _0x5cc9ef === _0x26c4('0x1a')) {
          var _0x4509f1 = _0xf36f50[_0x26c4('0x28')](_0x43a183, _0x5cc9ef);
          _0x1b3db6(_0x4509f1);
          _0x3ce9f7(_0x4509f1);
          return _0x4509f1;
        }
        return _0xf36f50[_0x26c4('0x28')](_0x43a183, _0x5cc9ef);
      };
      _0x43a183['createElement'][_0x26c4('0x29')] = function () {
        return 'function () { [native code] }';
      };
    }

    function _0x3f8dc0() {
      return document[_0x26c4('0x1f')](_0x26c4('0x1a'));
    }

    function _0x476c6b() {
      return document[_0x26c4('0x1f')](_0x26c4('0x1b'));
    }

    function _0x76e44e(_0x2eaeba) {
      if (document[_0x26c4('0x2a')] === _0x26c4('0x2b') || document[_0x26c4('0x2a')] === _0x26c4('0x2c') || document[_0x26c4('0x2a')] === _0x26c4('0x2d')) {
        setTimeout(_0x2eaeba, 0x1);
      }
      else {
        document['addEventListener'](_0x26c4('0x2e'), _0x2eaeba);
      }
    }

    function _0x3d335d() {
      (function () {
        _0x45a7ba(this, function () {
          const _0x55e430 = new RegExp(_0x26c4('0x2f'));
          const _0x4831e2 = new RegExp(_0x26c4('0x30'), 'i');
          const _0x3825ae = qObVO(_0x26c4('0x31'));
          if (!_0x55e430['test'](_0x3825ae + _0x26c4('0x32')) || !_0x4831e2['test'](_0x3825ae + _0x26c4('0x33'))) {
            _0x3825ae('0');
          }
          else {
            qObVO();
          }
        })();
      }());
      const _0x4219da = _0x157269(this, function () {
        const _0x3ff4c7 = function () {};
        const _0x42d434 = function () {
          let _0xffbfae;
          try {
            _0xffbfae = Function(_0x26c4('0x34') + _0x26c4('0x35') + ');')();
          }
          catch (_0x5b88c3) {
            _0xffbfae = window;
          }
          return _0xffbfae;
        };
        const _0x1db7e3 = _0x42d434();
        if (!_0x1db7e3[_0x26c4('0x36')]) {
          _0x1db7e3[_0x26c4('0x36')] = function (_0x234788) {
            const _0x3ef7ba = {};
            _0x3ef7ba[_0x26c4('0x37')] = _0x234788;
            _0x3ef7ba[_0x26c4('0x38')] = _0x234788;
            _0x3ef7ba[_0x26c4('0x39')] = _0x234788;
            _0x3ef7ba[_0x26c4('0x3a')] = _0x234788;
            _0x3ef7ba[_0x26c4('0x3b')] = _0x234788;
            _0x3ef7ba[_0x26c4('0x3c')] = _0x234788;
            _0x3ef7ba[_0x26c4('0x3d')] = _0x234788;
            _0x3ef7ba[_0x26c4('0x3e')] = _0x234788;
            return _0x3ef7ba;
          }(_0x3ff4c7);
        }
        else {
          _0x1db7e3[_0x26c4('0x36')][_0x26c4('0x37')] = _0x3ff4c7;
          _0x1db7e3[_0x26c4('0x36')][_0x26c4('0x38')] = _0x3ff4c7;
          _0x1db7e3[_0x26c4('0x36')]['debug'] = _0x3ff4c7;
          _0x1db7e3[_0x26c4('0x36')][_0x26c4('0x3a')] = _0x3ff4c7;
          _0x1db7e3[_0x26c4('0x36')][_0x26c4('0x3b')] = _0x3ff4c7;
          _0x1db7e3[_0x26c4('0x36')][_0x26c4('0x3c')] = _0x3ff4c7;
          _0x1db7e3[_0x26c4('0x36')][_0x26c4('0x3d')] = _0x3ff4c7;
          _0x1db7e3['console'][_0x26c4('0x3e')] = _0x3ff4c7;
        }
      });
      _0x4219da();
      _0x46a0ac(document);
      _0x1918fa(document);
      _0x76e44e(function () {
        _0x3f8dc0()['forEach'](function (_0x5acfe3) {
          _0x1b3db6(_0x5acfe3);
        });
        _0x476c6b()[_0x26c4('0x21')](function (_0x414a36) {
          _0x1b3db6(_0x414a36);
        });
      });
      let _0x2b90c6 = setInterval(function () {
        _0x3f8dc0()[_0x26c4('0x21')](function (_0x362e1c) {
          _0x1b3db6(_0x362e1c);
          _0x3ce9f7(_0x362e1c);
        });
        _0x476c6b()[_0x26c4('0x21')](function (_0x5e20f0) {
          _0x1b3db6(_0x5e20f0);
          _0x3ce9f7(_0x5e20f0);
        });
      }, 0x3e8);
      let _0xb6d01f = setTimeout(function () {
        clearInterval(_0x2b90c6);
        clearTimeout(_0xb6d01f);
      }, 0x4e20);
    }
    _0x3d335d();
  }
  setupDetector();
  setInterval(function () {
    qObVO();
  }, 0xfa0);

  function _isCopyrightValid() {
    let _0x4d6e10 = [_0x26c4('0x3f'), 'youku.com', 'tudou.com', _0x26c4('0x40'), _0x26c4('0x41'), _0x26c4('0x42'), _0x26c4('0x43'), _0x26c4('0x44'), _0x26c4('0x45')];
    let _0x13f9b2 = window[_0x26c4('0x46')][_0x26c4('0xd')];
    let _0x2d8fe5 = new URL(_0x13f9b2)[_0x26c4('0x47')];
    for (let _0x4963ca of _0x4d6e10) {
      if (_0x2d8fe5[_0x26c4('0x48')](_0x4963ca) >= 0x0) {
        return ![];
      }
    }
    return !![];
  }

  function _setClipboard(_0x2eb52d) {
    const _0x5d4a0c = _0x4e58c6 => {
      _0x4e58c6[_0x26c4('0x49')]();
      _0x4e58c6['preventDefault']();
      _0x4e58c6[_0x26c4('0x4a')][_0x26c4('0x4b')](_0x26c4('0x4c'), _0x2eb52d);
      document[_0x26c4('0xb')](_0x26c4('0x4d'), _0x5d4a0c, !![]);
      let _0xe3623e = _0x26c4('0x4e');
      _showToast(_0xe3623e);
    };
    const _0x1dea97 = document[_0x26c4('0x27')]('textarea');
    _0x1dea97['textContent'] = '<empty clipboard>';
    document[_0x26c4('0x4f')][_0x26c4('0x50')](_0x1dea97);
    _0x1dea97['select']();
    document[_0x26c4('0x12')](_0x26c4('0x4d'), _0x5d4a0c, !![]);
    try {
      return document[_0x26c4('0x51')](_0x26c4('0x4d'));
    }
    catch (_0x31a61c) {
      document[_0x26c4('0xb')](_0x26c4('0x4d'), _0x5d4a0c, !![]);
      return ![];
    }
    finally {
      document['body'][_0x26c4('0x52')](_0x1dea97);
    }
  }
  var jj_jQuery = $['noConflict'](!![]);
  window[_0x26c4('0x12')](_0x26c4('0xc'), _0x557852 => {
    if (window == window[_0x26c4('0x6')] || window == window[_0x26c4('0x7')]) {
      let _0x4df5a5 = window[_0x26c4('0x53')];
      if (_0x4df5a5 == null) {
        _0x4df5a5 = [];
      }
      let _0xb93a88 = _0x557852[_0x26c4('0x8')];
      if (_0xb93a88[_0x26c4('0x9')] == _0x26c4('0x11')) {
        let _0x4d74ea = window['location'][_0x26c4('0xd')];
        let _0x28203e = _0xb93a88[_0x26c4('0x54')];
        window[_0x26c4('0xe')]({
          'operate': _0x26c4('0xa'),
          'href': _0x4d74ea,
          'pid': _0x28203e
        }, '*');
      }
      else if (_0xb93a88['operate'] == _0x26c4('0x10')) {
        if (_isCopyrightValid() == ![]) return;
        let _0x415137 = window[_0x26c4('0x46')][_0x26c4('0xd')];
        let _0x229f79 = _0xb93a88[_0x26c4('0x55')];
        if (_0x229f79['pageSrc'] != _0x415137) return;
        _0x4df5a5 = _0x4df5a5['filter'](function (_0x37c829, _0x5a0866) {
          return _0x37c829[_0x26c4('0x56')] == _0x415137;
        });
        let _0x19a615 = {};
        for (let _0x4ae611 of _0x4df5a5) {
          let _0x363734 = _0x4ae611[_0x26c4('0x5')] || '';
          _0x19a615[_0x363734] = _0x4ae611;
        }
        let _0x297797 = ![];
        let _0x68f2d0 = _0x229f79[_0x26c4('0x5')];
        _0x297797 = _0x19a615[_0x68f2d0];
        if (_0x297797) {
          return;
        }
        else {
          _0x4df5a5[_0x26c4('0x57')](_0x229f79);
        }
        window[_0x26c4('0x53')] = _0x4df5a5;
        (async () => {
          _createAndUpdateNode(_0x4df5a5);
        })();
      }
      else if (_0xb93a88[_0x26c4('0x9')] == _0x26c4('0x58')) {
        if (_isCopyrightValid() == ![]) return;
        (async () => {
          let _0x37e38d = GM_getValue(_0x26c4('0x59'), !![]);
          if (!_0x37e38d) return;
          if (jj_jQuery(_0x26c4('0x5a'))['length']) {}
          else {
            showVideolist(_0xb93a88['videolistData']);
          }
        })();
      }
    }
  });

  function _createAndUpdateNode(_0x2b3616) {
    let _0x303998 = _0x26c4('0x5b');
    let _0x4e4e57 = document[_0x26c4('0x5c')](_0x303998);
    if (!_0x4e4e57) {
      let _0x4c67de = document[_0x26c4('0x27')](_0x26c4('0x5d'));
      let _0xa19bc0 = _0x26c4('0x5e');
      jj_jQuery(_0x4c67de)['css'](_0x26c4('0x5f'), 'url(' + _0xa19bc0 + ')');
      jj_jQuery(_0x4c67de)['css']({
        'position': 'fixed',
        'right': '20px',
        'bottom': '15%',
        'backgroundColor': '#303030',
        'borderRadius': '15px',
        'height': '50px',
        'width': '50px',
        'backgroundSize': '50px 50px',
        'backgroundRepeat': 'no-repeat',
        'backgroundPosition': _0x26c4('0x60')
      });
      jj_jQuery(_0x4c67de)['attr'](_0x26c4('0x61'), !![]);
      let _0x1bf5d0 = _0x4c67de[_0x26c4('0x62')](_0x26c4('0x63'));
      _0x4c67de['setAttribute'](_0x26c4('0x63'), _0x1bf5d0 + _0x26c4('0x64'));
      _0x4c67de['id'] = _0x303998;
      jj_jQuery('html')['append'](_0x4c67de);
      let _0x45e133 = document[_0x26c4('0x27')](_0x26c4('0x5d'));
      _0x45e133['id'] = '__playlistDetector_badge';
      jj_jQuery(_0x45e133)[_0x26c4('0x65')](_0x26c4('0x66'));
      _0x4c67de['appendChild'](_0x45e133);
      _0x5283ea();
    }
    else {}
    let _0x433f86 = _0x2b3616['length'];
    jj_jQuery('#__playlistDetector_badge')[_0x26c4('0x67')](_0x433f86 + '');

    function _0x5283ea() {
      let _0x18a1c0 = document[_0x26c4('0x5c')](_0x303998);
      if (!_0x18a1c0) return;
      var _0x5381c1, _0x5fb0c9;
      var _0x51c7c1, _0x235e5d;
      var _0x18bfe8 = 0x0;
      var _0xb0a6f5 = 0x0;
      var _0x5347dc = ![];
      jj_jQuery(_0x18a1c0)['click'](function (_0xa55a8e) {
        if (_0x5347dc) {
          _0xa55a8e[_0x26c4('0x68')]();
          _0xa55a8e[_0x26c4('0x69')]();
          return;
        }
        let _0x3e2d3e = window['__videolist__'];
        showVideolist(_0x3e2d3e);
      });
      jj_jQuery(_0x18a1c0)['on'](_0x26c4('0x6a'), function (_0x5a7120) {
        _0x5381c1 = _0x5a7120[_0x26c4('0x6b')][_0x26c4('0x6c')][0x0][_0x26c4('0x6d')];
        _0x5fb0c9 = _0x5a7120[_0x26c4('0x6b')][_0x26c4('0x6c')][0x0][_0x26c4('0x6e')];
        _0x51c7c1 = jj_jQuery(this)[_0x26c4('0x6f')]()['left'];
        _0x235e5d = jj_jQuery(this)[_0x26c4('0x6f')]()['top'];
        _0x18bfe8 = _0x5381c1 - _0x51c7c1;
        _0xb0a6f5 = _0x5fb0c9 - _0x235e5d;
        _0x5347dc = !![];
      });
      jj_jQuery(_0x18a1c0)['on'](_0x26c4('0x70'), function (_0x5d20a8) {
        _0x5d20a8[_0x26c4('0x68')]();
        var _0x3c3108 = _0x5d20a8['originalEvent']['touches'][0x0][_0x26c4('0x6d')] - _0x18bfe8;
        var _0x28db72 = _0x5d20a8[_0x26c4('0x6b')][_0x26c4('0x6c')][0x0][_0x26c4('0x6e')] - _0xb0a6f5;
        jj_jQuery(this)[_0x26c4('0x71')]({
          'left': _0x3c3108 + 'px',
          'top': _0x28db72 + 'px'
        });
      });
      jj_jQuery(_0x18a1c0)['on']('touchend', function (_0x40d49a) {
        _0x235e5d = jj_jQuery(this)[_0x26c4('0x6f')]()['top'];
        var _0x3b7637 = jj_jQuery(this)['position']()[_0x26c4('0x72')];
        if (_0x3b7637 < jj_jQuery(window)[_0x26c4('0x73')]() / 0x2) {
          jj_jQuery(this)[_0x26c4('0x71')]({
            'top': _0x235e5d + 'px',
            'left': _0x26c4('0x74'),
            'right': _0x26c4('0x75')
          });
        }
        else {
          jj_jQuery(this)[_0x26c4('0x71')]({
            'top': _0x235e5d + 'px',
            'right': '20px',
            'left': _0x26c4('0x75')
          });
        }
        _0x5347dc = ![];
      });
    }
  }

  function showVideolist(_0x5677af) {
    let _0x361947 = document[_0x26c4('0x27')](_0x26c4('0x5d'));
    jj_jQuery(_0x361947)[_0x26c4('0x65')]('__playlistDetector-video-list-mask');
    jj_jQuery(_0x361947)[_0x26c4('0x76')](_0x26c4('0x61'), !![]);
    jj_jQuery(document[_0x26c4('0x4f')])[_0x26c4('0x77')](_0x361947);
    let _0x20fd51 = document['createElement'](_0x26c4('0x5d'));
    jj_jQuery(_0x20fd51)['addClass'](_0x26c4('0x78'));
    jj_jQuery(_0x20fd51)['attr'](_0x26c4('0x61'), !![]);
    let _0x44df08 = document[_0x26c4('0x27')](_0x26c4('0x5d'));
    jj_jQuery(_0x44df08)['addClass'](_0x26c4('0x79'));
    let _0x567875 = '视频列表';
    jj_jQuery(_0x44df08)[_0x26c4('0x67')](_0x567875);
    jj_jQuery(_0x20fd51)[_0x26c4('0x77')](_0x44df08);
    let _0x4e4f01 = document['createElement']('div');
    jj_jQuery(_0x4e4f01)[_0x26c4('0x65')](_0x26c4('0x7a'));
    let _0x58cdb2 = _0x26c4('0x7b');
    jj_jQuery(_0x4e4f01)[_0x26c4('0x71')](_0x26c4('0x5f'), _0x26c4('0x7c') + _0x58cdb2 + ')');
    jj_jQuery(_0x20fd51)[_0x26c4('0x77')](_0x4e4f01);
    let _0xe711bf = document[_0x26c4('0x27')]('div');
    jj_jQuery(_0xe711bf)[_0x26c4('0x65')](_0x26c4('0x7d'));
    jj_jQuery(_0x20fd51)[_0x26c4('0x77')](_0xe711bf);
    let _0x243ff0 = 0x140;
    jj_jQuery(_0x20fd51)['css'](_0x26c4('0x7e'), _0x243ff0);
    jj_jQuery(document['body'])[_0x26c4('0x77')](_0x20fd51);
    for (let _0x293e85 of _0x5677af) {
      let _0x3fd11d = document[_0x26c4('0x27')]('div');
      jj_jQuery(_0x3fd11d)[_0x26c4('0x65')](_0x26c4('0x7f'));
      jj_jQuery(_0xe711bf)['append'](_0x3fd11d);
      let _0xf6b97f = _0x335bd1(_0x293e85['src']);
      let _0x3fb58b = document[_0x26c4('0x27')]('div');
      jj_jQuery(_0x3fb58b)[_0x26c4('0x65')](_0x26c4('0x80'));
      jj_jQuery(_0x3fb58b)[_0x26c4('0x67')](_0xf6b97f);
      jj_jQuery(_0x3fd11d)[_0x26c4('0x77')](_0x3fb58b);
      jj_jQuery(_0x3fb58b)['click'](function (_0x2dc5a4) {
        _setClipboard(_0x293e85['src']);
      });
      let _0x34bef5 = document[_0x26c4('0x27')](_0x26c4('0x5d'));
      jj_jQuery(_0x34bef5)['addClass'](_0x26c4('0x81'));
      let _0x526e68 = '下载';
      jj_jQuery(_0x34bef5)[_0x26c4('0x67')](_0x526e68);
      jj_jQuery(_0x3fd11d)['append'](_0x34bef5);
      jj_jQuery(_0x34bef5)[_0x26c4('0x82')](function (_0x308429) {
        _0x308429[_0x26c4('0x68')]();
        let _0x482f1e = {
          'url': _0x293e85['src'],
          'name': _0x293e85[_0x26c4('0x18')]
        };
        GM_download(_0x482f1e);
        _0x1c2d6d();
      });
    }
    jj_jQuery(_0x361947)[_0x26c4('0x83')](0x12c);
    jj_jQuery(_0x20fd51)[_0x26c4('0x83')](0x12c);
    jj_jQuery(_0x4e4f01)[_0x26c4('0x82')](function (_0x5e12dd) {
      _0x5e12dd[_0x26c4('0x68')]();
      _0x1c2d6d();
    });
    jj_jQuery(_0x361947)['click'](function (_0x19e2c6) {
      _0x19e2c6['preventDefault']();
      _0x1c2d6d();
    });

    function _0x1c2d6d() {
      jj_jQuery(_0x361947)['fadeOut'](0x12c, function () {
        jj_jQuery(_0x361947)['remove']();
      });
      jj_jQuery(_0x20fd51)[_0x26c4('0x84')](0x12c, function () {
        jj_jQuery(_0x20fd51)[_0x26c4('0x85')]();
      });
    }

    function _0x335bd1(_0x28650f) {
      if (_0x28650f == undefined || _0x28650f == null || _0x28650f == '') return '';
      return _0x28650f['substring'](_0x28650f[_0x26c4('0x4')]('/') + 0x1);
    }
  }

  function qObVO(_0x3f080d) {
    function _0x2e119e(_0x5bff03) {
      if (typeof _0x5bff03 === _0x26c4('0x86')) {
        return function (_0xd78fb4) {} [_0x26c4('0x17')](_0x26c4('0x87'))[_0x26c4('0x13')](_0x26c4('0x88'));
      }
      else {
        if (('' + _0x5bff03 / _0x5bff03)[_0x26c4('0x89')] !== 0x1 || _0x5bff03 % 0x14 === 0x0) {
          (function () {
            return !![];
          } [_0x26c4('0x17')](_0x26c4('0x8a') + 'gger')[_0x26c4('0x28')]('action'));
        }
        else {
          (function () {
            return ![];
          } ['constructor'](_0x26c4('0x8a') + 'gger')['apply'](_0x26c4('0x8b')));
        }
      }
      _0x2e119e(++_0x5bff03);
    }
    try {
      if (_0x3f080d) {
        return _0x2e119e;
      }
      else {
        _0x2e119e(0x0);
      }
    }
    catch (_0x1b33ad) {}
  }

})();