Jable🔞
https://jable02.net
laizhiyu (6509)7天前
Jable 视频书源 v2.0 (261124)
站点: x99dh.github.io 发布页导航 Jable 条目 18 条线路(jable02.net 等)
线路: 登录面板🧭一键从发布页获取 + ⏱测速(ms写按钮) + 12按钮翻页 + 🔍检查
列表: .video-img-box;搜索 /search/{key}/{page}/;发现=榜单3+主题12+标签115+女优60=190项(按网站导航)
详情: og:title/og:image/keywords;目录: 单章(相关推荐不进目录)
正文: var hlsUrl → /pumpres/... 302随机CDN → ★URL选项注入Referer(裸请求=tip.ts假片/带Referer=真AES-128 m3u8)
游客可看无登录。搜索无已知限频,未主动探测。兼容 LT(gedoor)+E(Luoyacheng) 双版
注: 个别新片站方 tip.ts 10秒占位不可绕过;换其他片即可
{
"bookSourceComment": "Jable 视频书源 v2.0 (261124)\n站点: x99dh.github.io 发布页导航 Jable 条目 18 条线路(jable02.net 等)\n线路: 登录面板🧭一键从发布页获取 + ⏱测速(ms写按钮) + 12按钮翻页 + 🔍检查\n列表: .video-img-box;搜索 \/search\/{key}\/{page}\/;发现=榜单3+主题12+标签115+女优60=190项(按网站导航)\n详情: og:title\/og:image\/keywords;目录: 单章(相关推荐不进目录)\n正文: var hlsUrl → \/pumpres\/... 302随机CDN → ★URL选项注入Referer(裸请求=tip.ts假片\/带Referer=真AES-128 m3u8)\n游客可看无登录。搜索无已知限频,未主动探测。兼容 LT(gedoor)+E(Luoyacheng) 双版\n注: 个别新片站方 tip.ts 10秒占位不可绕过;换其他片即可\n",
"bookSourceGroup": "视频,R18",
"bookSourceName": "Jable🔞",
"bookSourceType": 4,
"bookSourceUrl": "https:\/\/jable02.net",
"bookUrlPattern": "https?:\/\/[^\/]+\/videos\/[^\/?#]+\/?",
"customButton": false,
"customOrder": 0,
"enabled": true,
"enabledCookieJar": false,
"enabledExplore": true,
"eventListener": false,
"exploreUrl": "@js:\n(function(){\n var cfg={}; try{cfg=JSON.parse(String(source.getVariable()||'{}'))||{}}catch(e){}\n function open(k,d){return cfg[k]===undefined?d:cfg[k]!==0}\n function bar(t,k,d){\n var a='(function(){var c={};try{c=JSON.parse(String(source.getVariable()||\"{}\"))||{}}catch(e){}c.'+k+'=c.'+k+'?0:1;source.setVariable(JSON.stringify(c));java.refreshExplore();})()';\n return {title:(open(k,d)?'▼ ':'▶ ')+t,url:'',type:'button',action:a,style:{layout_wrapBefore:true,layout_flexBasisPercent:1}};\n }\n function sub(t,path){\n var p=t.split('|');\n return {title:p[0],url:'{{JB_base()}}'+path.replace('#',p[1])+'\/{{page}}\/',style:{}};\n }\n var out=[];\n out.push(bar('🔥 榜单·精选','jOpenTop',true)); if(open('jOpenTop',true)){var A=[\"💡 最近更新|\/rss\",\"🔥 热度优先|\/hot\",\"🆕 新片发布|\/new-release\"];for(var i=0;i<A.length;i++)out.push(sub(A[i],'#'));}\n out.push(bar('📚 主题分类(12)','jOpenCat',true)); if(open('jOpenCat',true)){var B=[\"主奴调教|bdsm\",\"直接开啪|sex-only\",\"中文字幕|chinese-subtitle\",\"凌辱快感|insult\",\"制服诱惑|uniform\",\"角色剧情|roleplay\",\"盗摄偷拍|private-cam\",\"无码解放|uncensored\",\"男友视角|pov\",\"多P群交|groupsex\",\"丝袜美腿|pantyhose\",\"女同欢愉|lesbian\"];for(var i=0;i<B.length;i++)out.push(sub(B[i],'\/categories\/#\/'));}\n out.push(bar('🏷️ 热门标签(115)','jOpenTag',false)); if(open('jOpenTag',false)){var C=[\"3P|3p\",\"4小时以上|more-than-4-hours\",\"Cosplay|Cosplay\",\"NTR|ntr\",\"OL|ol\",\"一日十回|10-times-a-day\",\"下雨天|rainy-day\",\"中出|creampie\",\"主播|female-anchor\",\"乳交|tit-wank\",\"人妻|wife\",\"便利店|store\",\"健身房|gym-room\",\"偶像|idol\",\"偷拍|private-cam\",\"催眠|hypnosis\",\"兔女郎|bunny-girl\",\"凌辱|insult\",\"出轨|affair\",\"刑具|grip\",\"口交|blowjob\",\"口爆|cum-in-mouth\",\"吊带袜|stockings\",\"和服|kimono\",\"图书馆|library\",\"多P|groupsex\",\"夫目前犯|sex-beside-husband\",\"女仆|maid\",\"女性观众|for-women\",\"婚纱|wedding-dress\",\"媚药|love-potion\",\"娇小|dainty\",\"学校|school\",\"家庭教师|private-teacher\",\"家政妇|housewife\",\"少女|girl\",\"巨乳|big-tits\",\"巨汉|giant\",\"年龄差|age-difference\",\"店铺盗窃|shoplifting\",\"厕所|toilet\",\"复仇|avenge\",\"情侣|couple\",\"感谢祭|thanksgiving\",\"按摩|massage\",\"接吻|kiss\",\"搜查官|detective\",\"放尿|piss\",\"旗袍|cheongsam\",\"时间停止|time-stop\",\"未亡人|widow\",\"校服|school-uniform\",\"母乳|breast-milk\",\"水着|swimsuit\",\"汽车|car\",\"泡姬|soapland\",\"泥醉|crapulence\",\"泳池|swimming-pool\",\"洗浴场|bathing-place\",\"深喉|deep-throat\",\"温泉|hot-spring\",\"渔网|fishnets\",\"潮吹|squirting\",\"熟女|mature-woman\",\"兽耳|kemonomimi\",\"球队经理|team-manager\",\"男M|masochism-guy\",\"痉挛|spasms\",\"痴女|chizyo\",\"痴汉|chikan\",\"白虎|hairless-pussy\",\"监狱|prison\",\"眼镜娘|glasses\",\"瞬间插入|quickie\",\"短发|short-hair\",\"空姐|flight-attendant\",\"童贞|virginity\",\"节日主题|festival\",\"纹身|tattoo\",\"丝袜|pantyhose\",\"捆绑|bondage\",\"综艺|variety-show\",\"美尻|beautiful-butt\",\"美腿|beautiful-leg\",\"老师|teacher\",\"肉丝|flesh-toned-pantyhose\",\"肛交|anal-sex\",\"脚交|footjob\",\"处女|first-night\",\"处女作\/引退作|debut-retires\",\"亲属|kinship\",\"诱惑|temptation\",\"调教|tune\",\"护士|nurse\",\"贫乳|small-tits\",\"软体|flexible-body\",\"逃犯|fugitive\",\"进犯|intrusion\",\"运动装|sportswear\",\"过膝袜|knee-socks\",\"丑男|ugly-man\",\"医生|doctor\",\"录像|video-recording\",\"错过末班车|missed-last-train\",\"长身|tall\",\"集团进犯|gang-intrusion\",\"电车|tram\",\"露出|outdoor\",\"青梅竹马|childhood\",\"颜射|facial\",\"风俗娘|club-hostess-and-sex-worker\",\"魔镜号|magic-mirror\",\"黑人|black\",\"黑丝|black-pantyhose\",\"黑肉|suntan\"];for(var i=0;i<C.length;i++)out.push(sub(C[i],'\/tags\/#\/'));}\n out.push(bar('👩 按女优(热门60)','jOpenModel',false)); if(open('jOpenModel',false)){var D=[\"仲间あずみ|bfaca44240620be2f3092c294fb22fbe|1\",\"大桥未久|d52d439054a2d095151691b11a99b802|2\",\"上原亜衣|f5fcda107aadc340592ec5b60671c1b8|4\",\"立花瑠莉|a9a8dea24d88a7d6dea79cfdd749f97c|1\",\"三上悠亜|yua-mikami|72\",\"Tiny|tiny|1\",\"尾上若叶|dbfe587363e5f187594b961b03d953eb|1\",\"明日花キララ|kirara-asuka|6\",\"北岛玲|9a9e7e432a8bf1817d155a4b6e4cabce|1\",\"桥本ありな|arina-hashimoto|53\",\"幸田李梨|8c495da1c617938f9e32a00d221f7a22|1\",\"桜井美里|c72999e3ad1f7c36e8018f84a283103e|1\",\"望月凉子|7342f30fc0b4acffccc8083f1529b157|1\",\"高垣怜|7bc503e42b004a64371957472b765add|1\",\"渡辺茜|a295a49a530517f2b2e4ea725a4672d8|1\",\"あまつか亜梦|76deee4a66140394afb9b342222318c9|3\",\"河北彩花|saika-kawakita|53\",\"小宵こなん|20d0c4a34eda32e442cc3ff532f568fd|36\",\"天音りせ|2b1eac8f3806062163c2bf6b70e090bc|1\",\"枫カレン|kaede-karen|67\",\"桃乃木かな|momonogi-kana|89\",\"仓科もえ|24257d5c6006ca3cd34b2448dee156de|1\",\"児玉るみ|cb1fb7b070858e3a0cb086ddcd96d22d|1\",\"悠月アイシャ|768bf94ab8061a01981cd5dcbb856abf|1\",\"伊东红兰|faa49facc6d78f42683db853817fd8e0|1\",\"南なつき|db312094fa3efa6d9c62e281fbc3986d|1\",\"田中レモン|851cf1602f37c2611917b675f2d432c7|5\",\"みほの|5c4980ee9b087170c6b11e1fba146ef1|3\",\"安斋らら|52a33aabdfd0440202e57950dafe079f|19\",\"山手梨爱|382635fc5873b217ff01bdd14f5058a7|24\",\"筿田あゆみ|f4255b11381c3ee006e9427804986189|4\",\"百多えみり|12050cf0c6145a5269401fa63ae27009|4\",\"凪ひかる|91fca8d824e07075d09de0282f6e9076|27\",\"尾野真知子|090c3c847f8bd334b34ad5882462c56a|1\",\"佐藤悠美|50901b0fe0f78eecfbe730d9b2eb6e22|1\",\"西川七瀬|e2d6d3396730920dd30202223e266d89|1\",\"神木丽|ef9b1ab9a21b58d6ee4d7d97ab883288|58\",\"みづなれい|432452635da3d62dbd6d28270e162e48|1\",\"高坂丽子|cf83191c7504cd0d2a0ccb33ea07e12a|1\",\"板谷友美|2dac6a51a3dbec07b432cc265c3a13ae|1\",\"与田知佳|207eab0581b09e3e0230498770e8ced4|1\",\"相沢みなみ|aizawa-minami|47\",\"中井绫香|09c2c4b1e2193f7f1399af09e0104c62|1\",\"めぐり|7cdb926baab256cc26da8146f4980a10|35\",\"枫ふうあ|f88e49c4c1adb0fd1bae71ac122d6b82|62\",\"都盛星空|cfec639ac8663bf921c59d15029c6758|1\",\"あやみ旬果|ayami-syunka|10\",\"成瀬まゆり|9248571e579fb08fec5a19b9132fb274|1\",\"天音まひな|cbb37daf8c697c0ff169e974bf40630f|26\",\"伊织しずく|1c9660a46c0bacf960fc3fb98329fdc8|1\",\"松下纱栄子|matsushita-saeko|20\",\"杏树纱奈|bb2c39a1ddc2df680cf28886d63e6395|2\",\"古瀬玲|67591c96271cece8694e2321b1d6f7a9|5\",\"新ありな|e763382dc86aa703456d964ca25d0e8b|40\",\"森崎りか|875461f0e45bc89f14d2219794ddb4cd|1\",\"近藤郁美|e7e38de905d722e4853d69a4c37493e5|1\",\"吉川あいみ|bd4eea19d6e092fb05751b91eeea4381|2\",\"柳田やよい|adbd3cadad664d54507df801eb823673|1\",\"澁谷果歩|c1e2860bac5dd4266def313cb4820872|2\",\"长泽あずさ|54be1913d5e82a9797208636fe3779b3|4\"];for(var i=0;i<D.length;i++)out.push(sub(D[i],'\/models\/#\/'));}\n return JSON.stringify(out);\n})()",
"header": "{\"User-Agent\": \"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/124.0.0.0 Safari\/537.36\", \"Accept-Language\": \"zh-CN,zh;q=0.9\"}",
"jsLib": "\/\/ ============ Jable 视频书源 · 公共JS库 ============\n\/\/ 只放不碰 java binding 的纯函数(jsLib 共享 scope 看不到 evalJS 注入的 java)。\n\/\/ 线路真身 = source.setVariable(JSON)(跨环境共享):{jbLine:\"https:\/\/jable02.net\", jbLines:\"[...]\", jbPage:\"0\", jbSpN:\"123ms\"}\nfunction JB_getData() {\n var d; try { d = this.source.getVariable(); } catch (e) { d = null; }\n if (d === null || d === undefined || d === '') return {};\n try { return JSON.parse(String(d)); } catch (e) { return {}; }\n}\nfunction JB_saveData(d) {\n var s = JSON.stringify(d);\n try { this.source.setVariable(s); } catch (e) {}\n return s;\n}\n\/\/ 当前线路根(默认 jable02.net,来自发布页 Jable 条目首条)\nfunction JB_line() {\n var d = JB_getData.call(this);\n var l = String(d.jbLine || 'https:\/\/jable02.net');\n if (l.indexOf('http') !== 0) l = 'https:\/\/jable02.net';\n return l.replace(\/\\\/+$\/, '');\n}\nfunction JB_base() { return JB_line.call(this); }\nfunction JB_writeLine(line) {\n var d = JB_getData.call(this);\n d.jbLine = String(line).replace(\/\\\/+$\/, '');\n JB_saveData.call(this, d);\n try { this.source.put('jbLine', d.jbLine); } catch (e) {}\n return d.jbLine;\n}\nfunction JB_lineList() {\n var d = JB_getData.call(this);\n if (!d.jbLines) return [];\n try { return JSON.parse(String(d.jbLines)); } catch (e) { return []; }\n}\nfunction JB_storeLines(lines) {\n var d = JB_getData.call(this);\n d.jbLines = JSON.stringify(lines);\n JB_saveData.call(this, d);\n return lines;\n}\n",
"lastUpdateTime": "1795501680272",
"loginUi": "[{\"name\": \"pub\", \"type\": \"text\", \"action\": \"\", \"helpText\": \"x99dh 免密导航页,默认 https:\/\/x99dh.github.io\/\"}, {\"name\": \"fetchBtn\", \"type\": \"button\", \"action\": \"JB_actionFetch()\", \"viewName\": \"'🧭 一键从发布页获取网址路线'\"}, {\"name\": \"testBtn\", \"type\": \"button\", \"action\": \"JB_actionTest()\", \"viewName\": \"'⏱ 测试延时(ms写入各网址按钮)'\"}, {\"name\": \"pageBtn\", \"type\": \"button\", \"action\": \"JB_nextPage()\", \"viewName\": \"JB_pageLabel.call(this)\"}, {\"name\": \"line0\", \"type\": \"button\", \"action\": \"JB_switch0()\", \"viewName\": \"JB_lineBtn.call(this,0)\"}, {\"name\": \"line1\", \"type\": \"button\", \"action\": \"JB_switch1()\", \"viewName\": \"JB_lineBtn.call(this,1)\"}, {\"name\": \"line2\", \"type\": \"button\", \"action\": \"JB_switch2()\", \"viewName\": \"JB_lineBtn.call(this,2)\"}, {\"name\": \"line3\", \"type\": \"button\", \"action\": \"JB_switch3()\", \"viewName\": \"JB_lineBtn.call(this,3)\"}, {\"name\": \"line4\", \"type\": \"button\", \"action\": \"JB_switch4()\", \"viewName\": \"JB_lineBtn.call(this,4)\"}, {\"name\": \"line5\", \"type\": \"button\", \"action\": \"JB_switch5()\", \"viewName\": \"JB_lineBtn.call(this,5)\"}, {\"name\": \"line6\", \"type\": \"button\", \"action\": \"JB_switch6()\", \"viewName\": \"JB_lineBtn.call(this,6)\"}, {\"name\": \"line7\", \"type\": \"button\", \"action\": \"JB_switch7()\", \"viewName\": \"JB_lineBtn.call(this,7)\"}, {\"name\": \"line8\", \"type\": \"button\", \"action\": \"JB_switch8()\", \"viewName\": \"JB_lineBtn.call(this,8)\"}, {\"name\": \"line9\", \"type\": \"button\", \"action\": \"JB_switch9()\", \"viewName\": \"JB_lineBtn.call(this,9)\"}, {\"name\": \"line10\", \"type\": \"button\", \"action\": \"JB_switch10()\", \"viewName\": \"JB_lineBtn.call(this,10)\"}, {\"name\": \"line11\", \"type\": \"button\", \"action\": \"JB_switch11()\", \"viewName\": \"JB_lineBtn.call(this,11)\"}, {\"name\": \"checkBtn\", \"type\": \"button\", \"action\": \"JB_actionCheck()\", \"viewName\": \"'🔍 检查登录状态(游客可用)'\"}]",
"loginUrl": "\/\/ ============ Jable 视频书源 · 登录\/线路管理面板 ============\n\/\/ loginUi <js> 与 action 共用本文件(SourceLoginDialog 拼 \"$loginJS\\n$buttonFunctionJS\")。\n\/\/ ★用到 java 的函数必须放这里(jsLib 共享 scope 看不到 evalJS 注入的 java)。\n\/\/ 发布页输入框名: pub;线路: jbLine \/ jbLines(jsLib JB_* 经 this.source 存取同一真身)\nfunction JB_toast(s, long) {\n try { if (long) java.longToast(s); else java.toast(s); } catch (e) { try { java.toast('' + s); } catch (e2) {} }\n}\nfunction JB_reUi() {\n try { java.reLoginView(); } catch (e) { try { java.reLoginView(false); } catch (e2) { try { java.reUiView(false); } catch (e3) {} } }\n}\nfunction JB_hdrPanel() {\n return \"{\\\"User-Agent\\\": \\\"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/124.0.0.0 Safari\/537.36\\\", \\\"Accept-Language\\\": \\\"zh-CN,zh;q=0.9\\\"}\";\n}\n\n\/\/ ---- 发布页 → Jable 线路池(java 函数必须在此;x99dh.github.io 静态导航 base64)----\nfunction JB_fetchPub() {\n var navs = ['https:\/\/x99dh.github.io\/', 'https:\/\/x99dh.pages.dev\/'];\n for (var n = 0; n < navs.length; n++) {\n try {\n var r = java.connect(navs[n], JB_hdrPanel(), 15000);\n var b = r.body() + '';\n var m = b.match(\/encodedData\\s*=\\s*'([^']+)'\/);\n if (!m) continue;\n var j = decodeURIComponent(java.base64Decode(m[1]));\n var arr = JSON.parse(j);\n for (var i = 0; i < arr.length; i++) {\n if (String(arr[i].name) === 'Jable' && arr[i].urls) {\n var out = [];\n for (var k = 0; k < arr[i].urls.length; k++) {\n var u = String(arr[i].urls[k].url || '').replace(\/\\\/enter\\\/?$\/, '').replace(\/\\\/+$\/, '');\n if (u.indexOf('http') === 0 && out.indexOf(u) < 0) out.push(u);\n }\n if (out.length) return {lines: out, def: String(arr[i].url || out[0]).replace(\/\\\/enter\\\/?$\/, '').replace(\/\\\/+$\/, ''), from: navs[n]};\n }\n }\n } catch (e) {}\n }\n return null;\n}\n\n\/\/ 并发测速(status.html 返回 2 字节 'ok' + callTime 判活),ms 写按钮,最快自动切换\nfunction JB_pickFastest() {\n var list = JB_lineList.call(this);\n if (!list.length) return null;\n var best = -1, bestMs = 999999, tested = 0, lastErr = '', mode = '';\n var i, ms, txt, rs = null;\n try {\n var more = [];\n for (i = 0; i < list.length; i++) {\n more.push(list[i] + '\/status.html?t=' + Date.now() + ',{\"headers\":' + JB_hdrPanel() + ',\"retry\":0}');\n }\n rs = java.ajaxAll(more, true);\n var n = (rs && (rs.length || (rs.size ? rs.size() : 0))) || 0;\n var rsOk = false;\n try {\n var ct0 = parseInt(rs[0].callTime(), 10);\n var bd0 = String(rs[0].body() || '');\n rsOk = (n >= list.length && ct0 > 0 && bd0.indexOf('Exception') < 0 && bd0.indexOf('timeout') < 0);\n } catch (eChk) { rsOk = false; }\n if (rsOk) {\n mode = 'ajaxAll';\n for (i = 0; i < n; i++) {\n ms = 999999; txt = '';\n try { ms = parseInt(rs[i].callTime(), 10); } catch (e) {}\n try { txt = String(rs[i].body() || ''); } catch (e2) {}\n if (txt.trim() !== 'ok' || ms > 15000 || ms < 0) ms = 999999;\n try { this.source.put('jbSp' + i, ms === 999999 ? '超时' : ms + 'ms'); } catch (e9) {}\n if (ms < 15000) tested++;\n if (ms < bestMs) { bestMs = ms; best = i; }\n }\n } else { rs = null; }\n } catch (e) { lastErr = 'ajaxAll:' + String(e).substring(0, 40); rs = null; }\n if (!rs) {\n mode = 'connect';\n for (i = 0; i < list.length; i++) {\n ms = 999999; txt = '';\n try {\n var r = java.connect(list[i] + '\/status.html?t=' + Date.now(), JB_hdrPanel(), 6000);\n var ct = 0; try { ct = parseInt(r.callTime(), 10); } catch (e3) {}\n try { txt = String(r.body() || ''); } catch (e4) {}\n if (txt.trim() === 'ok' && ct >= 0) ms = ct;\n } catch (e5) { lastErr = 'connect:' + String(e5).substring(0, 40); }\n try { this.source.put('jbSp' + i, ms === 999999 ? '超时' : ms + 'ms'); } catch (e6) {}\n if (ms < 15000) tested++;\n if (ms < bestMs) { bestMs = ms; best = i; }\n }\n }\n try { this.source.put('jbDiag', 'mode=' + mode + ' tested=' + tested + ' best=' + best + ' err=' + lastErr); } catch (e7) {}\n if (best >= 0 && bestMs < 15000) {\n JB_writeLine.call(this, String(list[best]));\n return {best: best, line: String(list[best]), ms: bestMs, tested: tested};\n }\n return null;\n}\n\n\/\/ 🧭 一键从发布页获取网址路线(取回 Jable 18 条线路 + 自动测速选最快)\nfunction JB_actionFetch() {\n JB_toast('🧭 正在解析 x99dh 发布页 Jable 线路…', true);\n try {\n var res = JB_fetchPub();\n if (!res || !res.lines || !res.lines.length) {\n JB_toast('❌ 未解析到线路,检查网络或稍后再试', true);\n return;\n }\n JB_storeLines.call(this, res.lines);\n var d = JB_getData.call(this);\n d.jbPage = '0';\n JB_saveData.call(this, d);\n JB_writeLine.call(this, String(res.def || res.lines[0]));\n JB_toast('✅ 获取 ' + res.lines.length + ' 条线路,正在测速选最快…', true);\n var fast = JB_pickFastest.call(this);\n if (fast) {\n JB_toast('⚡ 已选最快:' + fast.line.replace(\/^https?:\\\/\\\/\/, '') + ' ' + fast.ms + 'ms(' + fast.tested + '条)', true);\n } else {\n JB_toast('✅ 线路已获取(自动测速失败,可点⏱手动测)', true);\n }\n JB_reUi();\n } catch (e) { JB_toast('❌ 解析失败:' + String(e).substring(0, 60), true); }\n}\n\n\/\/ ⏱ 测速按钮:ms 写各线路按钮(viewName 动态显示),最快自动切换\nfunction JB_actionTest() {\n var list = JB_lineList.call(this);\n if (!list.length) { JB_toast('⚠️ 请先点🧭获取线路', true); return; }\n JB_toast('⏱ 正在测速 ' + list.length + ' 条线路…', true);\n var fast = JB_pickFastest.call(this);\n if (fast) {\n JB_toast('⚡ 最快:' + fast.line.replace(\/^https?:\\\/\\\/\/, '') + ' ' + fast.ms + 'ms(' + fast.tested + '条,已切换)', true);\n } else {\n JB_toast('⚠️ 全部线路测速失败,请检查网络', true);\n }\n JB_reUi();\n}\n\n\/\/ 线路按钮动态文本:▶当前 + ⚡ms + 域名\nfunction JB_lineBtn(i) {\n try {\n var list = JB_lineList.call(this);\n var page = parseInt(JB_getData.call(this).jbPage || '0', 10);\n var idx = page * 12 + i;\n if (idx >= list.length) return ' (空)';\n var u = String(list[idx]).replace(\/^https?:\\\/\\\/\/, '').replace(\/\\\/+$\/, '');\n var sp = this.source.get('jbSp' + idx) || '';\n var cur = (JB_line.call(this) === String(list[idx]).replace(\/\\\/+$\/, '')) ? '▶' : ' ';\n var label = cur + (sp ? '⚡' + sp + ' ' : '') + u;\n if (label.length > 19) label = label.substring(0, 19);\n return label;\n } catch (e) { return ' 线路' + i; }\n}\nfunction JB_pageLabel() {\n try {\n var d = JB_getData.call(this);\n var list = JB_lineList.call(this);\n var page = parseInt(d.jbPage || '0', 10);\n return ' 线路 ' + (page + 1) + '\/' + Math.max(1, Math.ceil(list.length \/ 12));\n } catch (e) { return ' 线路 1'; }\n}\nfunction JB_switch0() { return JB_switchIdx.call(this, 0); }\nfunction JB_switch1() { return JB_switchIdx.call(this, 1); }\nfunction JB_switch2() { return JB_switchIdx.call(this, 2); }\nfunction JB_switch3() { return JB_switchIdx.call(this, 3); }\nfunction JB_switch4() { return JB_switchIdx.call(this, 4); }\nfunction JB_switch5() { return JB_switchIdx.call(this, 5); }\nfunction JB_switch6() { return JB_switchIdx.call(this, 6); }\nfunction JB_switch7() { return JB_switchIdx.call(this, 7); }\nfunction JB_switch8() { return JB_switchIdx.call(this, 8); }\nfunction JB_switch9() { return JB_switchIdx.call(this, 9); }\nfunction JB_switch10() { return JB_switchIdx.call(this, 10); }\nfunction JB_switch11() { return JB_switchIdx.call(this, 11); }\nfunction JB_switchIdx(i) {\n var list = JB_lineList.call(this);\n var page = parseInt(JB_getData.call(this).jbPage || '0', 10);\n var idx = page * 12 + i;\n if (idx >= list.length) { JB_toast('⚠️ 该位置无线路,请先🧭获取', true); return; }\n JB_writeLine.call(this, String(list[idx]));\n JB_toast('✅ 已切换线路:' + String(list[idx]).replace(\/^https?:\\\/\\\/\/, ''), true);\n JB_reUi();\n}\nfunction JB_nextPage() {\n var d = JB_getData.call(this);\n var list = JB_lineList.call(this);\n var page = parseInt(d.jbPage || '0', 10);\n var max = Math.max(1, Math.ceil(list.length \/ 12));\n d.jbPage = String((page + 1) % max);\n JB_saveData.call(this, d);\n JB_toast('📄 线路第 ' + (parseInt(d.jbPage, 10) + 1) + '\/' + max + ' 页', false);\n JB_reUi();\n}\n\n\/\/ 🔍 检查登录状态(本站游客可看,探测当前线路可达性)\nfunction JB_actionCheck() {\n JB_toast('🔍 正在检查当前线路…', true);\n try {\n var u = JB_base.call(this) + '\/latest-updates\/';\n var r = java.connect(u, JB_hdrPanel(), 15000);\n var b = r.body() + '';\n var ok = b.indexOf('video-img-box') >= 0;\n var ms = 0; try { ms = parseInt(r.callTime(), 10); } catch (e) {}\n if (ok) JB_toast('✅ 线路正常(游客可用,无登录)' + (ms ? ' ' + ms + 'ms' : ''), true);\n else if (b.length > 500) JB_toast('⚠️ 线路有响应但内容异常,建议测速换线', true);\n else JB_toast('⚠️ 线路异常,建议⏱测速换线', true);\n } catch (e) { JB_toast('❌ 检查失败:' + String(e).substring(0, 50), true); }\n}\n\n\/\/ 点 √ 必须实现\nfunction login() { JB_toast('ℹ️ 本站游客可用,线路设置已保存', false); }\n",
"respondTime": 180000,
"ruleBookInfo": {
"canReName": "true",
"coverUrl": "$.cover",
"init": "@js:(function(){var h=String(result);var o={};\no.title=(h.match(\/property=\"og:title\" content=\"([^\"]*)\"\/)||h.match(\/<h4>([^<]*)<\\\/h4>\/)||['',''])[1];\no.cover=(h.match(\/property=\"og:image\" content=\"([^\"]*)\"\/)||h.match(\/<video poster=\"([^\"]*)\"\/)||['',''])[1];\no.desc=(h.match(\/property=\"og:description\" content=\"([^\"]*)\"\/)||h.match(\/<h5 class=\"desc h6-md\">([^<]*)<\/)||['',''])[1];\no.kind=(h.match(\/name=\"keywords\" content=\"([^\"]*)\"\/)||['',''])[1];\nvar h6=(h.match(\/<div class=\"info-header\"[\\s\\S]*?<h6>([\\s\\S]*?)<\\\/h6>\/)||['',''])[1]||'';\nvar nums=[];h6.replace(\/<span class=\"mr-3\">([^<]*)<\\\/span>\/g,function(a,c){nums.push(c.trim());});\no.desc=(o.desc||'')+(nums.length?' · '+nums.join(' · '):'');\nreturn JSON.stringify(o)})()",
"intro": "$.desc",
"kind": "$.kind",
"name": "$.title"
},
"ruleContent": {
"content": "@js:(function(){var h=String(result);var m=h.match(\/var hlsUrl = '([^']+)'\/);if(!m||!m[1])return '';var u=m[1];if(u.indexOf('http')!==0)return '';var ref=JB_base.call(this)+'\/';var opt=',{\"headers\":{\"User-Agent\":\"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/124.0.0.0 Safari\/537.36\",\"Referer\":\"'+ref+'\"}}';return u+opt;})()"
},
"ruleExplore": {},
"ruleSearch": {
"bookList": ".video-img-box",
"bookUrl": ".img-box a@href",
"coverUrl": "img@data-src",
"intro": ".detail .sub-title@text",
"kind": ".absolute-bottom-right .label@text",
"name": ".detail h6.title a@text"
},
"ruleToc": {
"chapterList": "@js:(function(){var b=String(baseUrl);var h=String(result);var t=(h.match(\/property=\"og:title\" content=\"([^\"]*)\"\/)||h.match(\/<h4>([^<]*)<\\\/h4>\/)||['',''])[1]||b;if(t.length>60)t=t.substring(0,60);var list=new Packages.java.util.ArrayList();list.add(JSON.stringify({title:t,url:b}));return list;})()",
"chapterName": "$.title",
"chapterUrl": "$.url"
},
"searchUrl": "@js:var b=JB_base.call(this);var k=(typeof key!=='undefined'&&key)?String(key):'';b+'\/search\/'+encodeURIComponent(k)+'\/{{page}}\/'",
"variableComment": "面板管理线路(18条域名池)。🧭一键取线路+自动测速;⏱手动测速ms写按钮;▶标当前线路",
"weight": 0
}