Skip to content

Commit

Permalink
support: 18comic-gura.me #92;
Browse files Browse the repository at this point in the history
  • Loading branch information
MapoMagpie committed Sep 7, 2024
1 parent c4f0136 commit 6b472e9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion eh-view-enhance.meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
// @match https://rokuhentai.com/*
// @match https://18comic.org/*
// @match https://18comic.vip/*
// @match https://18comic-gura.me/*
// @match https://rule34.xxx/*
// @match https://imhentai.xxx/*
// @match https://danbooru.donmai.us/*
Expand Down Expand Up @@ -64,7 +65,7 @@
// @connect konachan.com
// @connect 18comic.org
// @connect 18comic.vip
// @connect 18-comicfreedom.xyz
// @connect 18comic-gura.me
// @connect rule34.xxx
// @connect imhentai.xxx
// @connect donmai.us
Expand Down
5 changes: 3 additions & 2 deletions eh-view-enhance.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
// @match https://rokuhentai.com/*
// @match https://18comic.org/*
// @match https://18comic.vip/*
// @match https://18comic-gura.me/*
// @match https://rule34.xxx/*
// @match https://imhentai.xxx/*
// @match https://danbooru.donmai.us/*
Expand Down Expand Up @@ -64,7 +65,7 @@
// @connect konachan.com
// @connect 18comic.org
// @connect 18comic.vip
// @connect 18-comicfreedom.xyz
// @connect 18comic-gura.me
// @connect rule34.xxx
// @connect imhentai.xxx
// @connect donmai.us
Expand Down Expand Up @@ -3156,7 +3157,7 @@ Report issues here: <a target="_blank" href="https://github.com/MapoMagpie/eh-vi
);
}
workURL() {
return /18-?comic(freedom)?.(vip|org|xyz)\/album\/\d+/;
return /18comic(-gura)?.(vip|org|me)\/album\/\d+/;
}
galleryMeta(doc) {
if (this.meta)
Expand Down
2 changes: 1 addition & 1 deletion src/platform/18comic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class Comic18Matcher extends BaseMatcher {
}

workURL(): RegExp {
return /18-?comic(freedom)?.(vip|org|xyz)\/album\/\d+/;
return /18comic(-gura)?.(vip|org|me)\/album\/\d+/;
}

galleryMeta(doc: Document): GalleryMeta {
Expand Down
4 changes: 3 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export default defineConfig(({ command }) => {
'https://rokuhentai.com/*',
'https://18comic.org/*',
'https://18comic.vip/*',
'https://18comic-gura.me/*',
'https://rule34.xxx/*',
'https://imhentai.xxx/*',
'https://danbooru.donmai.us/*',
Expand All @@ -65,6 +66,7 @@ export default defineConfig(({ command }) => {
'https://*.copymanga.tv/*',
'https://e621.net/*',
'https://arca.live/*',
// '*://*/*',
],
name: {
"": "ComicLooms",
Expand Down Expand Up @@ -99,7 +101,7 @@ export default defineConfig(({ command }) => {
'konachan.com',
'18comic.org',
'18comic.vip',
'18-comicfreedom.xyz',
'18comic-gura.me',
'rule34.xxx',
'imhentai.xxx',
'donmai.us',
Expand Down

0 comments on commit 6b472e9

Please sign in to comment.