Skip to content

Commit 1ae5fff

Browse files
committed
Update pvcep_rules.js
1 parent 0353ef0 commit 1ae5fff

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Picviewer CE+/pvcep_rules.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1985,5 +1985,15 @@ var siteInfo = [
19851985
url: /^\/posts\//,
19861986
query: "a.icon-download"
19871987
}
1988+
},
1989+
{
1990+
name: "hentai-sharing",
1991+
url: /^https:\/\/hentai\-sharing\.net\//,
1992+
getImage: function(a, p) {
1993+
if (a && a.href.indexOf("https://hentai-sharing.net/nyaa/") == 0) {
1994+
let link = atob(a.href.replace("https://hentai-sharing.net/nyaa/", ""));
1995+
return /\.(?:jpe?|pn)g/.test(link) ? link : '';
1996+
}
1997+
}
19881998
}
19891999
];

0 commit comments

Comments
 (0)