MangaUpdates chapter links

Allows to add direct links to chapters in MangaUpdates release lists

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
agreg
日安装量
0
总安装量
73
评分
0 0 0
版本
0.2
创建于
2019-09-30
更新于
2019-11-24
大小
8.0 KB
许可证
暂无
适用于

MangaUpdates direct chapter links

Allows opening chapters hosted by scanlator/translator groups directly from the MangaUpdates website (from Releases page and from the group page), provided that the group hosts such a website.

To allow link generation, you have to set up the group URL template (see example) and the title ID (the #{title} part of the URL). Chapter number has the same limitation as in reader, that is, no "subchapters" (1.3, 12.5, 243b) are allowed – they're treated as the base chapter number. (Additionally, if a release includes a range of chapters, the URL will point to the first one.)

If the chapter URLs in the group website are arbitrary (random) you can still link to the main page of the title (setting up template URL without the #{chapter} part). In cases of unstable URL scheme you can force the browser to ignore chapter number for a specific title by entering whole URL suffix as its ID and ending it with # (which makes browser treat everything after as an in-page reference)

Export/import

To make this userscript more useful, I implemented export/import logic in it. More specifically, an user can export the following parts of his data:

  • All of it (‘↓’ button in top-right corner of any links table);
  • Specific group data (‘Export’ button in group URL template dialog);
  • Specific title for a specific group + URL template of that group (‘Export’ button in title ID dialog).

All of these exports have the same format but different amount of contents. Thus, there's only one import button (‘↑’ button in top-right corner of any links table). On import, every group present in provided file will be imported, with the title IDs adding to the ones present (if such a group is already registered). Take note that a title ID is only valid for the URL template it was made for, usually, so if the file contains conflicting URL templates, such groups will be replaced instead of being merged with new data (you'll be asked to confirm it, so if you don't to lose your data or want to check it first you can simply cancel; the ID of the first group with non-matching URL template is provided in the confirmation message).

Further information on the feature usage can be found here.