新方圆VIP解析插件

新方圆插件,VIP接口解析

  1. // ==UserScript==
  2. // @name 新方圆VIP解析插件
  3. // @namespace https://github.com/qiusunshine/movienow
  4. // @version 1.0.6
  5. // @icon https://www.baidu.com/favicon.ico
  6. // @description 新方圆插件,VIP接口解析
  7. // @author 小棉袄66
  8. // @license MIT
  9. // @supportURL https://github.com/qiusunshine/movienow
  10. // @match *.le.com/*
  11. // @match *.iqiyi.com/*
  12. // @match *.youku.com/*
  13. // @match *.letv.com/*
  14. // @match *v.qq.com/*
  15. // @match *.tudou.com/*
  16. // @match *.mgtv.com/*
  17. // @match *.sohu.com/*
  18. // @run-at document-idle
  19. // @grant unsafeWindow
  20. // ==/UserScript==
  21. (function() {
  22. var apis = [
  23. {"name": "初心解析", "url": "http://jx.bwcxy.com/?v="},
  24. {"name": "芒果蓝光解析", "url": "http://www.guandianzhiku.com/v/s/?url="},
  25. {"name": "科技解析", "url": "http://ka61b.cn/jx.php?url="},
  26. {"name":"89免费解析","url":"http://www.ka61b.cn/jx.php?url="},
  27. {"name": "1907影视", "url": "https://z1.m1907.cn/?jx="},
  28. {"name": "清风明月", "url": "http://fateg.xyz/?url="},
  29. {"name": "爱看碟解析", "url": "http://jx.ikandie.cn/?url="},
  30. {"name": "紫云解析", "url": "https://api.smq1.com/?url="},
  31. {"name": "够买解析", "url": "http://jx.vipshares.xyz/index1.php?url="},
  32. {"name": "调试", "url": "https://vip.mpos.ren/v/?url="},
  33. {"name": "T15X解析", "url": "https://play.t15x.com/index.php?url="},
  34. {"name": "人人解析", "url": "https://cdn.yangju.vip/k/?url="},
  35. {"name": "初见解析", "url": "http://chujian.xiaoyule-app.cn/?url="},
  36. {"name": "黑米解析", "url": "https://www.heimijx.com/jx/api/?url="},
  37. {"name": "飞鸟云播", "url": "http://jx.ledboke.com/?url="},
  38. {"name": "冰河解析", "url": "http://jx.duzhiqiang.com/?url="},
  39. {"name": "狸猫解析", "url": "http://111jx.xyz/?url="},
  40. {"name": "33解析", "url": "http://www.33tn.cn/?url="},
  41. {"name": "佩奇解析", "url": "http://jx.hanpeiqi.cn/peiqi/?url="},
  42. {"name": "55解析", "url": "http://55jx.top/?url="},
  43. {"name": "小蒋极致", "url": "https://www.kpezp.cn/jlexi.php?url="},
  44. {"name": "19g", "url": "http:.top/?url="},
  45. {"name": "265解析", "url": "https://vod.265ks.com/vod/index.php?url="},
  46. {"name":"128sp","url":"https://jx.128sp.com/jxjx/?url="},
  47. {"name":"607p","url":"http://607p.com/?url="},
  48. {"name":"69p","url":"http://69p.top/?url="},
  49. {"name":"74t","url":"http://74t.top/?url="},
  50. {"name":"55jx","url":"http://55jx.top/?url="},
  51. {"name":"playx","url":"http://playx.top/?url="},
  52. {"name":"泥潭9","url":"http://nitian9.com/?url="},
  53. {"name":"19g","url":"http://19g.top/?url="},
  54. {"name":"52088","url":"http://52088.online/?url="},
  55. {"name":"bofang","url":"http://bofang.online/?url="},
  56. {"name":"play1","url":"http://play1.online/?url="},
  57. {"name":"ckplay","url":"http://ckplay.online/?url="},
  58. {"name":"880看","url":"http://880kan.com/?url="},
  59. {"name":"95uv","url":"http://59uv.com/?url="},
  60. {"name":"优奇解析","url":"https://jx.youqi.tw/?v="},
  61. {"name":"1969解析","url":"http://ys.1969com.cn/?url="},
  62. {"name":"58解析","url":"https://jx.km58.top/jx/?url="},
  63. {"name":"快视宝3号解析","url":"http://jx.q73w.cn/jx03/?rl="},
  64. {"name":"快视宝4号解析","url":"http://jx.q73w.cn/jx04/?url="},
  65. {"name": "福祥影视", "url": "http://jx.hao0606.com/?url="},
  66. {"name": "地久天长", "url": "http://www.lexiangsj.xyz/?v="},
  67. {"name": "无广告秒播", "url": "http://jx.98a.ink/?v="},
  68. {"name": "无极速", "url": "http://jx.6666txt.com/?url="},
  69. {"name": "XYZ视频解析(二次)", "url": "http://vipjx.pyhj.net/?url="},
  70. {"name": "kh38解析", "url": "http://jx.kh38.cn/?url="},
  71. {"name":"云解析","url":"http://gege.ha123.club/gege1234/index.php?url="},
  72. {"name": "猪蹄无广告", "url": "http://jx.iztyy.com/svip/?url="},
  73. {"name": "猪蹄无广告1", "url": "https://jx.iztyy.com/svip/?url="},
  74. {"name": "青山解析", "url": "http://api.cypay.me/?v="},
  75. {"name": "云渡", "url": "http://yy.6tc.top/jx/?url="},
  76. {"name": "解析吧", "url": "http://jx.jxba.cc/?url="},
  77. {"name": "花语有你", "url": "http://api.huahuay.com/?url="},
  78. {"name": "771解析", "url": "https://vip.qi71.cn/jiexi.php?url="},
  79. {"name": "狂野解析", "url": "https://api.653520.top/vip/?url="},
  80. {"name": "神农解析", "url": "http://zx.asys520.top/?url="},
  81. {"name": "傻猫解析", "url": "http://www.sillycat.xyz/jx/?url="},
  82. {"name": "黑云解析", "url": "http://jx.daheiyun.com/?url="},
  83. {"name": "叮咚", "url": "http://jiexi.exdnd.com/?url="},
  84. {"name": "蛋壳", "url": "http://www.58danke.top/jx/xin?url="},
  85. {"name": "1616解析", "url": "https://www.1616jx.com/jx/api.php?url="},
  86. {"name": "Beaacc", "url": "https://beaacc.com/api.php?url="},
  87. {"name": "我爱解析", "url": "http://jx.52a.ink/?url="},
  88. {"name": "超能解析", "url": "http://jiexi.44cn.net/byg/index.php?url="},
  89. {"name": "瑞特解析", "url": "http://jx.0421v.pw/index.php?url="},
  90. {"name": "360dy解析", "url": "http://yun.360dy.wang/jx.php?url="},
  91. {"name": "久久云解析", "url": "http://jx.99yyw.com/api/?url="},
  92. {"name": "芽芽智能", "url": "http://jx.yayaol.xyz/?url="},
  93. {"name": "A.xinVIP解析", "url": "http://tv.cuione.cn/?url="},
  94. {"name": "范特尔", "url": "http://jx.79it.cn/?url="},
  95. {"name": "OK解析", "url": "http://okjx.cc/?url="},
  96. {"name": "玩得嗨", "url": "http://tv.wandhi.com/go.html?url="},
  97. {"name": "船长解析", "url": "http://czjx8.com/?url="},
  98. {"name": "万能", "url": "http://api.lkdmkj.com/jx/jx00/index.php?url="},
  99. {"name": "免VIP智能", "url": "https://v.mvipsp.top/?v="},
  100. {"name": "17K云", "url": "http://17kyun.com/api.php?url="},
  101. {"name": "高端解析", "url": "http://api.51ckm.com/jx.php?url="},
  102. {"name": "高端解析1", "url": "http://api.hlglwl.com/jx.php?url="},
  103. {"name": "vip多线路", "url": "http://api.ledboke.com/vip/?url="},
  104. {"name": "AT520", "url": "http://at520.cn/jx/?url="},
  105. {"name": "酷博", "url": "http://jx.x-99.cn/api.php?id="},
  106. {"name": "金桥解析", "url": "http://jqaaa.com/jx.php?url="},
  107. {"name": "石头云", "url": "http://jiexi.071811.cc/jx.php?url="},
  108. {"name": "1717云", "url": "http://www.1717yun.com/jx/ty.php?url="},
  109. {"name": "牛巴巴", "url": "http://mv.688ing.com/player?url="},
  110. {"name": "FlvPS", "url": "https://api.flvsp.com/?url="},
  111. {"name": "660e", "url": "https://660e.com/?url="},
  112. {"name": "WoCao", "url": "https://www.wocao.xyz/index.php?url="},
  113. {"name": "思古解析", "url": "https://api.sigujx.com/?url="},
  114. {"name": "神马解析", "url": "http://baidukan.top/jx.php?url="},
  115. {"name": "超清干货", "url": "http://k8aa.com/jx/index.php?url="},
  116. {"name": "影院解析", "url": "http://52jx.top/?url="},
  117. {"name": "快视宝", "url": "http://jx.q73w.cn/jx05/?url="},
  118. {"name": "智能解析", "url": "http://jx.lache.me/cc/?url="},
  119. {"name": "流氓凡解析", "url": "https://jx.wslmf.com/?url="},
  120. {"name": "618G", "url": "https://jx.618g.com/?url="}];
  121. loadVipFunc();
  122.  
  123. function loadVipFunc(){
  124. var domain = location.href.split("?");
  125. var ye = "<span style='display:block;float:left;width:5vw;height:5vw;font-size:2.5vw;color:#fff;line-height:5vw;text-align:center;border-radius:100%;box-shadow:0px 0px 3px #a9a9a9;background:#0078FF;margin:3.78vw 2.1vw;'>★</span>";
  126. if (domain[0].match(".iqiyi.com") || domain[0].match(".youku.com") || domain[0].match(".le.com") || domain[0].match(".letv.com") || domain[0].match("v.qq.com") || domain[0].match(".tudou.com") || domain[0].match(".mgtv.com") || domain[0].match(".sohu.com")) {
  127. var myBtn = document.createElement("div");
  128. myBtn.id = "myBtn2019";
  129. myBtn.innerHTML = "➿‍";
  130. myBtn.setAttribute("style", "width:12vw;height:12vw;position:fixed;bottom:25vh;right:10vw;z-index:100000;border-radius:100%;text-align:center;line-height:12vw;box-shadow:0px 1px 3px rgba(0,0,0,0.3);font-size:4.5vw;background:#fafafa;");
  131. myBtn.onclick = function() {
  132. loadVip(location.href);
  133. };
  134. document.body.appendChild(myBtn);
  135. var myul = document.createElement("ul");
  136. myul.id = "myul2019";
  137. myul.setAttribute("style", "display:none;background:#fff;box-shadow:0px 1px 10px rgba(0,0,0,0.3);margin:0;padding:0 4.2vw;position:fixed;bottom:35vh;right:12vw;z-index:99999;height:60vh;overflow:scroll;border-radius:1.26vw;");
  138. for (var i = 0; i < apis.length; i++) {
  139. var myli = document.createElement("li");
  140. var that = this;
  141. myli.setAttribute("style", "margin:0;padding:0;display:block;list-style:none;font-size:4.2vw;width:33.6vw;text-align:left;line-height:12.6vw;letter-spacing:0;border-bottom:1px solid #f0f0f0;position:relative;overflow:hidden;text-overflow:hidden;white-space:nowrap;");
  142. (function(num) {
  143. myli.onclick = function() {
  144. window.open(apis[num].url + tryGetRealUrl(location.href), '_blank');
  145. };
  146. myli.ontouchstart = function() {
  147. this.style.cssText += "color:yellow;background:#373737;border-radius:1.26vw;";
  148. };
  149. myli.ontouchend = function() {
  150. this.style.cssText += "color:black;background:transparent;border-radius:0;";
  151. };
  152. })(i);
  153. myli.innerHTML = apis[i].name;
  154. myul.appendChild(myli)
  155. }
  156. document.body.appendChild(myul);
  157. //让视频区域显示文字,直接解析
  158. showVipTitle(location.href);
  159. }
  160. }
  161. function showVipTitle(url) {
  162. var titleStr = "视频连接成功!点击选择解析接口";
  163. if (url.indexOf("iqiyi.com") != -1) {
  164. var iframe = document.getElementById('_if');
  165. if (iframe) {
  166. window.location.reload();
  167. return;
  168. };
  169. var i = document.getElementsByClassName('m-video-player-wrap')[0];
  170. if (typeof(i) != 'undefined') {
  171. i.style.height = '220px';
  172. i.style.color = '#fff';
  173. i.style.lineHeight = '15';
  174. i.style.position = 'static';
  175. i.style.paddingTop = '0%';
  176. i.style.background = '#000000';
  177. i.style.textAlign = 'center';
  178. i.innerHTML = '<div>' + titleStr + '</div>';
  179. i.addEventListener('tap',
  180. function() {
  181. loadVip(window.location.href);
  182. })
  183. };
  184. } else if (url.indexOf("v.qq.com") != -1) {
  185. var i = document.getElementsByClassName('site_player')[0];
  186. if (typeof(i) != 'undefined') {
  187. i.style.height = '210px';
  188. i.style.background = '#000000';
  189. i.style.textAlign = 'center';
  190. i.style.color = '#fff';
  191. i.style.lineHeight = '14';
  192. i.innerHTML = '<div>' + titleStr + '</div>';
  193. i.addEventListener('touchstart',
  194. function(e) {
  195. loadVip(window.location.href);
  196. })
  197. };
  198. } else if (url.indexOf("m.le.com") != -1) {
  199. var i = document.getElementsByClassName('playB')[0];
  200. if (typeof(i) != 'undefined') {
  201. i.style.background = '#000000';
  202. i.innerHTML = '<div>' + titleStr + '</div>';
  203. i.style.width = '100%';
  204. i.style.textAlign = 'center';
  205. i.style.lineHeight = '14';
  206. i.style.color = '#fff';
  207. i.addEventListener('touchstart',
  208. function(e) {
  209. loadVip(window.location.href);
  210. });
  211. }
  212. } else if (url.indexOf("youku.com") != -1) {
  213. var i = document.getElementById('playerBox');
  214. if (typeof(i) != 'undefined') {
  215. i.style.background = '#000000';
  216. i.style.color = '#fff';
  217. i.style.textAlign = 'center';
  218. i.style.lineHeight = '15';
  219. i.innerHTML = '<div>' + titleStr + '</div>';
  220. i.addEventListener('touchstart',
  221. function(e) {
  222. loadVip(window.location.href);
  223. });
  224. }
  225. } else if (url.indexOf("mgtv.com") != -1) {
  226. var i = document.getElementsByClassName('video-area')[0];
  227. if (typeof(i) != 'undefined') {
  228. i.style.background = '#000000';
  229. i.style.color = '#fff';
  230. i.style.textAlign = 'center';
  231. i.style.lineHeight = '16';
  232. i.innerHTML = '<div>' + titleStr + '</div>';
  233. i.addEventListener('click',
  234. function(e) {
  235. loadVip(window.location.href);
  236. });
  237. }
  238. } else if (url.indexOf("sohu.com") != -1) {
  239. var i = document.getElementsByClassName('x-player')[0];
  240. var x = document.getElementById('top-poster');
  241. if (typeof(i) != 'undefined') {
  242. i.style.background = '#000000';
  243. i.style.color = '#fff';
  244. i.style.textAlign = 'center';
  245. i.style.lineHeight = '13';
  246. i.innerHTML = '<div>' + titleStr + '</div>';
  247. i.addEventListener('touchstart',
  248. function(e) {
  249. loadVip(window.location.href);
  250. })
  251. } else if (typeof(x) != 'undefined') {
  252. x.style.background = '#000000';
  253. x.style.color = '#fff';
  254. x.style.height = '210px';
  255. x.style.textAlign = 'center';
  256. x.style.lineHeight = '13';
  257. i.innerHTML = '<div>' + titleStr + '</div>';
  258. x.addEventListener('click',
  259. function() {
  260. loadVip(window.location.href);
  261. });
  262. }
  263. } else if (url.indexOf("baofeng.com") != -1) {
  264. var myVideo = document.getElementsByTagName('video')[0];
  265. myVideo.pause();
  266. var i = document.getElementById('videoplayer');
  267. if (typeof(i) != 'undefined') {
  268. i.style.background = '#000000';
  269. i.style.textAlign = 'center';
  270. i.style.color = '#fff';
  271. i.style.lineHeight = '17';
  272. i.innerHTML = '<div>' + titleStr + '</div>';
  273. i.addEventListener('touchstart',
  274. function(e) {
  275. loadVip(window.location.href);
  276. });
  277. }
  278. }
  279. }
  280. function tryGetRealUrl(url) {
  281. var realUrl = url;
  282. try {
  283. realUrl = getRealUrl(url);
  284. } catch(err) {
  285. console.log(err);
  286. }
  287. return realUrl;
  288. }
  289. function getYoukuRealUrl(url) {
  290. var li = document.getElementsByClassName('hot-row-bottom')[0].children[0];
  291. var data = li.getAttribute('data-param');
  292. var s = data.split('svid=');
  293. if (s.length > 1) {
  294. var svid = s[1].split('&')[0];
  295. return 'https://v.youku.com/v_show/id_' + svid + '.html';
  296. }
  297. return url;
  298. }
  299. function getRealUrl(url) {
  300. var dataurl2 = url;
  301. var txurlc = dataurl2.split(":");
  302. var txurl = txurlc[1].slice(0, 12);
  303. var ykurl = txurlc[1].slice(0, 13);
  304. var ykdata = txurlc[1].slice(13);
  305. var funurl = txurlc[1].slice(0, 11);
  306. if (ykurl == '//m.youku.com') {
  307. return getYoukuRealUrl(url);
  308. }
  309. if (ykurl == '//m.youku.com') {
  310. var txurlc = dataurl2.split(":");
  311. var ykurl = txurlc[1].slice(0, 13);
  312. var ykdata = txurlc[1].slice(13);
  313. dataurl2 = 'http://www.youku.com' + ykdata;
  314. } else if (ykurl == '//m.iqiyi.com') {
  315. var txurlc = dataurl2.split(":");
  316. var ykurl = txurlc[1].slice(0, 13);
  317. var ykdata = txurlc[1].slice(13);
  318. dataurl2 = 'https://www.iqiyi.com' + ykdata;
  319. } else if (txurl == '//m.v.qq.com') {
  320. var vid = getParam(dataurl2, "vid");
  321. var cid = getParam(dataurl2, "cid");
  322. var txdata2 = dataurl2.split("?");
  323. var str = "play.html";
  324. if (txdata2[0].slice(txdata2[0].length - str.length) == str) {
  325. if (cid.length > 1) {
  326. dataurl2 = "https://v.qq.com/x/cover/" + cid + ".html";
  327. return dataurl2;
  328. } else if (vid.length == 11) {
  329. return "https://v.qq.com/x/page/" + vid + ".html";
  330. }
  331. }
  332. cid = txdata2[0].slice( - 20, -5);
  333. if (vid.length == 11) {
  334. dataurl2 = 'https://v.qq.com/x/cover/' + cid + '/' + vid + '.html';
  335. } else {
  336. dataurl2 = 'https://v.qq.com/x/cover/' + cid + '.html';
  337. }
  338. } else if (ykurl == '//m.le.com/vp') {
  339. var leurlc = dataurl2.split("_");
  340. var leurl = leurlc[1];
  341. dataurl2 = 'http://www.le.com/ptv/vplay/' + leurl;
  342. }
  343. return dataurl2;
  344. }
  345. function getParam(dataurl2, name) {
  346. return dataurl2.match(new RegExp('[?&]' + name + '=([^?&]+)', 'i')) ? decodeURIComponent(RegExp.$1) : '';
  347. }
  348. function loadVip(url) {
  349. var myBtn = document.getElementById("myBtn2019");
  350. var myul = document.getElementById("myul2019");
  351. if (myul.style.display == "none") {
  352. myul.style.display = "block";
  353. myBtn.innerHTML = "➕";
  354. myBtn.style.transform = "rotateZ(45deg)";
  355. } else {
  356. myul.style.display = "none";
  357. myBtn.innerHTML = "➿";
  358. myBtn.style.transform = "rotateZ(0deg)";
  359. }
  360. }
  361. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址