From 2b83892e3a872c865e768785105363a62a1325e4 Mon Sep 17 00:00:00 2001 From: lelinhtinh Date: Fri, 8 Jan 2021 19:53:48 +0700 Subject: [PATCH] Add saytruyen --- manga_comic_downloader/README.md | 1 + .../manga_comic_downloader.user.js | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/manga_comic_downloader/README.md b/manga_comic_downloader/README.md index 14e444e..69d9cef 100644 --- a/manga_comic_downloader/README.md +++ b/manga_comic_downloader/README.md @@ -63,6 +63,7 @@ Tải truyện tranh từ các trang chia sẻ ở Việt Nam. 1. 1. 1. +1. , , ### Mobile diff --git a/manga_comic_downloader/manga_comic_downloader.user.js b/manga_comic_downloader/manga_comic_downloader.user.js index 5e1d2e9..4e27f51 100644 --- a/manga_comic_downloader/manga_comic_downloader.user.js +++ b/manga_comic_downloader/manga_comic_downloader.user.js @@ -4,7 +4,7 @@ // @namespace https://baivong.github.io // @description Tải truyện tranh từ các trang chia sẻ ở Việt Nam. Nhấn Alt+Y để tải toàn bộ. // @description:vi Tải truyện tranh từ các trang chia sẻ ở Việt Nam. Nhấn Alt+Y để tải toàn bộ. -// @version 3.0.2 +// @version 3.1.0 // @icon https://i.imgur.com/ICearPQ.png // @author Zzbaivong // @license MIT; https://baivong.mit-license.org/license.txt @@ -61,6 +61,9 @@ // @match https://hoihentai.com/* // @match https://hoitruyentranh.com/* // @match https://truyenvn.com/* +// @match https://*.saytruyen.net/* +// @match https://*.saytruyen.com/* +// @match https://*.sayhentai.net/* // @require https://code.jquery.com/jquery-3.5.1.min.js // @require https://unpkg.com/fflate@0.4.2/umd/index.js // @require https://unpkg.com/file-saver@2.0.2/dist/FileSaver.min.js @@ -1948,6 +1951,18 @@ jQuery(function ($) { init: getTruyenVn, }; break; + case 'saytruyen.net': + case 'www.saytruyen.net': + case 'saytruyen.com': + case 'www.saytruyen.com': + case 'sayhentai.net': + case 'www.sayhentai.net': + configs = { + link: '#list-chapter a', + name: 'h1.title', + contents: '#lst_content', + }; + break; default: configs = {}; break;