release: 1.2.3
This commit is contained in:
12
dist/jop.user.js
vendored
12
dist/jop.user.js
vendored
@@ -1,7 +1,7 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name JAV 添加跳转在线观看
|
// @name JAV 添加跳转在线观看
|
||||||
// @namespace https://greasyfork.org/zh-CN/scripts/429173
|
// @namespace https://greasyfork.org/zh-CN/scripts/429173
|
||||||
// @version 1.2.2
|
// @version 1.2.3
|
||||||
// @author mission522
|
// @author mission522
|
||||||
// @description 为 JavDB、JavBus、JavLibrary 这三个站点添加跳转在线观看的链接
|
// @description 为 JavDB、JavBus、JavLibrary 这三个站点添加跳转在线观看的链接
|
||||||
// @license MIT
|
// @license MIT
|
||||||
@@ -1173,13 +1173,9 @@
|
|||||||
setLoading(false);
|
setLoading(false);
|
||||||
});
|
});
|
||||||
}, [fetcher, siteItem, CODE, link]);
|
}, [fetcher, siteItem, CODE, link]);
|
||||||
const tag =
|
const multipleFlag = multipleNavi && (fetchRes == null ? void 0 : fetchRes.multipleRes);
|
||||||
multipleNavi && (fetchRes == null ? void 0 : fetchRes.multipleRes)
|
const tag = multipleFlag ? "多结果" : fetchRes == null ? void 0 : fetchRes.tag;
|
||||||
? "多结果"
|
const resultLink = multipleFlag
|
||||||
: fetchRes == null
|
|
||||||
? void 0
|
|
||||||
: fetchRes.tag;
|
|
||||||
const resultLink = (fetchRes == null ? void 0 : fetchRes.multipleRes)
|
|
||||||
? fetchRes.multipResLink
|
? fetchRes.multipResLink
|
||||||
: fetchRes == null
|
: fetchRes == null
|
||||||
? void 0
|
? void 0
|
||||||
|
|||||||
@@ -59,7 +59,6 @@ function serachPageParser(
|
|||||||
return { isSuccess: false };
|
return { isSuccess: false };
|
||||||
}
|
}
|
||||||
const targetLinkText = linkNode.href.replace(linkNode.hostname, siteHostName);
|
const targetLinkText = linkNode.href.replace(linkNode.hostname, siteHostName);
|
||||||
console.log("|titleNodes", titleNodes);
|
|
||||||
return {
|
return {
|
||||||
isSuccess: true,
|
isSuccess: true,
|
||||||
targetLink: targetLinkText,
|
targetLink: targetLinkText,
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ const includeList = libSites.map((libItem) => libItem.href);
|
|||||||
|
|
||||||
const UserscriptConfig: MonkeyUserScript = {
|
const UserscriptConfig: MonkeyUserScript = {
|
||||||
author: "mission522",
|
author: "mission522",
|
||||||
version: "1.2.2",
|
version: "1.2.3",
|
||||||
license: "MIT",
|
license: "MIT",
|
||||||
name: "JAV 添加跳转在线观看",
|
name: "JAV 添加跳转在线观看",
|
||||||
// match: ["*://*/cn/?v=jav*"],
|
// match: ["*://*/cn/?v=jav*"],
|
||||||
|
|||||||
Reference in New Issue
Block a user