// ==UserScript== // @name 【玩的嗨】VIP工具箱,全网VIP视频免费破解去广告,一站式音乐搜索下载,获取B站封面,下载B站视频,上学吧答案获取等众多功能聚合 2020-10-16 更新,报错请及时反馈 // @namespace http://www.wandhi.com/ // @version 4.2.17 // @homepage https://tools.wandhi.com/scripts // @supportURL https://wiki.wandhi.com/ // @description 功能介绍:1、Vip视频解析;2、一站式音乐搜索解决方案;3、bilibili视频封面获取;4、bilibili视频下载;5、上学吧答案查询(接口偶尔抽风);6、商品历史价格展示(一次性告别虚假降价);7、优惠券查询 // @author MaxZhang // @icon http://www.wandhi.com//favicon.ico // @include *://m.youku.com/v* // @include *://m.youku.com/a* // @include *://v.youku.com/v_* // @include *://*.iqiyi.com/v_* // @include *://*.iqiyi.com/w_* // @include *://*.iqiyi.com/a_* // @include *://*.iqiyi.com/adv* // @include *://*.le.com/ptv/vplay/* // @include *v.qq.com/x/cover/* // @include *v.qq.com/x/page/* // @include *v.qq.com/*play* // @include *v.qq.com/cover* // @include *://*.tudou.com/listplay/* // @include *://*.tudou.com/albumplay/* // @include *://*.tudou.com/programs/view/* // @include *://*.tudou.com/v* // @include *://*.mgtv.com/b/* // @include *://film.sohu.com/album/* // @include *://tv.sohu.com/v/* // @include *://*.acfun.cn/v/* // @include *://*.bilibili.com/video/* // @include *://*.bilibili.com/anime/* // @include *://*.bilibili.com/bangumi/play/* // @include *://*.pptv.com/show/* // @include *://*.baofeng.com/play/* // @include *://*.wasu.cn/Play/show* // @include *://v.yinyuetai.com/video/* // @include *://v.yinyuetai.com/playlist/* // @include *://*.wasu.cn/Play/show/* // @include *://music.taihe.com/song* // @include *://item.taobao.com/* // @include *://detail.tmall.com/* // @include *://chaoshi.detail.tmall.com/* // @include *://detail.tmall.hk/* // @include *://item.jd.com/* // @include *://item.jd.hk/* // @include *://detail.vip.com/detail-* // @include *://product.suning.com/* // @include *://music.163.com/song* // @include *://music.163.com/m/song* // @include *://y.qq.com/* // @include *://*.kugou.com/* // @include *://*.kuwo.cn/* // @include *://*.xiami.com/* // @include *://music.taihe.com/* // @include *://*.1ting.com/player* // @include *://www.qingting.fm/* // @include *://www.lizhi.fm/* // @include *://music.migu.cn/* // @include *://www.shangxueba.com/ask/*.html // @include *://www.ximalaya.com/* // @include *://www.shangxueba.com/ask/*.html // @include *://pan.baidu.com/disk/home* // @include *://yun.baidu.com/disk/home* // @include *://pan.baidu.com/s/* // @include *://yun.baidu.com/s/* // @include *://pan.baidu.com/share/link* // @include *://yun.baidu.com/share/link* // @exclude *://*.wandhi.com/* // @require https://lib.baomitu.com/jquery/1.12.4/jquery.min.js // @require https://cdn.jsdelivr.net/npm/sweetalert2@9.14.0/dist/sweetalert2.min.js // @require https://lib.baomitu.com/echarts/4.6.0/echarts.min.js // @require https://lib.baomitu.com/layer/2.3/layer.js // @require https://lib.baomitu.com/reflect-metadata/0.1.13/Reflect.min.js // @require https://cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js // @require https://cdn.jsdelivr.net/npm/vuex@3.4.0/dist/vuex.min.js // @require https://cdn.jsdelivr.net/npm/qrcode@1.4.4/build/qrcode.min.js // @require https://cdn.jsdelivr.net/npm/crypto-js@4.0.0/crypto-js.js // @license MIT // @grant GM_setClipboard // @run-at document-end // @connect shangxueba365.com // @connect api.wandhi.com // @connect cdn.jsdelivr.net // @connect tool.manmanbuy.com // @connect xbeibeix.com // @grant unsafeWindow // @grant GM_xmlhttpRequest // @grant GM_info // @grant GM.addStyle // @grant GM_getValue // @grant GM_setValue // @grant GM_notification // @grant GM_openInTab // @grant GM_deleteValue // @grant GM_registerMenuCommand // @grant GM_unregisterMenuCommand // @downloadURL none // ==/UserScript== !function(t, e) { "object" == typeof exports && "undefined" != typeof module ? e(require("reflect-metadata"), require("vue"), require("crypto-js")) : "function" == typeof define && define.amd ? define([ "reflect-metadata", "vue", "crypto-js" ], e) : e(null, (t = "undefined" != typeof globalThis ? globalThis : t || self).Vue, t.CryptoJS); }(this, (function(t, e, n) { "use strict"; function _interopDefaultLegacy(t) { return t && "object" == typeof t && "default" in t ? t : { default: t }; } var o = _interopDefaultLegacy(e), i = _interopDefaultLegacy(n), extendStatics = function(t, e) { return (extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, e) { t.__proto__ = e; } || function(t, e) { for (var n in e) e.hasOwnProperty(n) && (t[n] = e[n]); })(t, e); }; function __extends(t, e) { function __() { this.constructor = t; } extendStatics(t, e), t.prototype = null === e ? Object.create(e) : (__.prototype = e.prototype, new __); } function __decorate(t, e, n, o) { var i, r = arguments.length, a = r < 3 ? e : null === o ? o = Object.getOwnPropertyDescriptor(e, n) : o; if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a = Reflect.decorate(t, e, n, o); else for (var s = t.length - 1; s >= 0; s--) (i = t[s]) && (a = (r < 3 ? i(a) : r > 3 ? i(e, n, a) : i(e, n)) || a); return r > 3 && a && Object.defineProperty(e, n, a), a; } function __metadata(t, e) { if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(t, e); } var r, a = function() { function EventHelper() {} return EventHelper.bind_click = function(t, e) { var n; null === (n = document.querySelector(t)) || void 0 === n || n.addEventListener("click", (function(t) { e(); })); }, EventHelper; }(), s = function() { function Core() { this.topUrl = top.window.location.href, this.url = this.currentUrl(); } return Core.appendTo = function(t, e) { $(t).append(e); }, Core.lazyload = function(t, e) { void 0 === e && (e = 5), setTimeout((function() { t(); }), 1e3 * e); }, Core.aotulazyload = function(t, e, n) { void 0 === n && (n = 5), t() ? e() : setTimeout((function() { Core.aotulazyload(t, e, n); }), 1e3 * n); }, Core.addUrl = function(t, e) { GM_setValue(t, e); }, Core.openUrl = function(t) { this.open(GM_getValue(t)); }, Core.prototype.getPar = function(t, e) { void 0 === e && (e = window.location.search); var n = e.match(new RegExp("[?&]" + t + "=([^&]+)", "i")); return null == n || n.length < 1 ? "" : n[1]; }, Core.appendCss = function(t) { var e = document.createElement("link"); e.type = "text/css", e.rel = "stylesheet", e.href = t, Core.head.appendChild(e); }, Core.appendCssContent = function(t) { var e = document.createElement("style"); e.innerHTML = t, Core.head.appendChild(e); }, Core.prototype.bodyAppendCss = function(t) { $("body").append($('')); }, Core.bodyAppend = function(t) { $("body").append(t); }, Core.appendJs = function(t) { var e = document.createElement("script"); e.type = "text/javascript", e.src = t, this.head.appendChild(e); }, Core.prototype.bodyAppendJs = function(t) { $("body").append($('