Greasy Fork is available in English.

Mangadex Autocomplete

Autocompletes @mentions and :titles. Maintains a small history of user posts and manga you recently viewed and searches that for matches. Example image shown in additional info

スクリプトをインストール?
作者が勧める他のスクリプト

Mangadex Preview Postも気に入るかもしれません。

スクリプトをインストール
このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
Shy Guy
1日のインストール数
0
累計インストール数
145
評価
2 0 0
バージョン
0.0.13
作成日
2018/09/26
更新日
2019/09/26
ライセンス
MIT
対象サイト

Mangadex Autocomplete:

Example


NEW FEATURES!

  • Autocomplete Manga titles!
  • Settings menu!
    • Customize history limits
    • Autocomplete only users or titles
    • Change Manga Title autocomplete character
    • Chose to autocomplete titles into a link to the title page, a thumbnail, or even a description in a [spoiler] tag

Features:

  • Autocompletes @mention usernames. Maintains a small history of user posts you recently viewed and searches that for matches.
  • Autocompletes :Title titles to bbcode links (optionally to an image or description spoiler as well).
  • Quick access Settings menu! located within the little cog at the top right of your screen (next to your username). Click autocompletions tab in the popup dialog
  • Configurable completion character(or string) for Titles.
  • Suggestion box uses the selected site's color theme.
  • Shows user's icon or Manga's thumbnail next to the name in the suggestion box for easy identification.
  • Show a 100 character preview of the last viewed post from a user on mouseover.
  • Show a 1000 character preview of the manga's description (must visit the title page at least once for this feature to work).
  • Known to work on Firefox, Chrome, and Firefox Android!

Usernames are sorted so:

  1. Matches at the beginning of the name come first
  2. Users who have commented in the current thread come before those from other threads
  3. Users who mentioned you come before those who haven't
  4. More recently viewed users come before others (we sort based off of the time you last viewed it, NOT the time it was posted!)

Titles are sorted so:

  1. Matches at the beginning of the name come first
  2. Followed titles come before unfollowed ones.
  3. More recently viewed manga come before others (we sort based off of the time you last viewed it, NOT the time it was uploaded!)

Want to know what Title Completion looks like?
Well, if I type ':ten'
In plain completion mode, I'll simply get
Tensei Shitara Slime Datta Ken: Mamono no Kuni no Arukikata

In Link mode(default), I get
[url=https://mangadex.org/title/19617/Tensei-Shitara-Slime-Datta-Ken--Mamono-no-Kuni-no-Arukikata]Tensei Shitara Slime Datta Ken: Mamono no Kuni no Arukikata[/url]

In Thumbnail + Link mode, I get
[url=https://mangadex.org/title/19617/Tensei-Shitara-Slime-Datta-Ken--Mamono-no-Kuni-no-Arukikata]Tensei Shitara Slime Datta Ken: Mamono no Kuni no Arukikata[/url]
[url=https://mangadex.org/title/19617/Tensei-Shitara-Slime-Datta-Ken--Mamono-no-Kuni-no-Arukikata][img]https://mangadex.org/images/manga/19617.thumb.jpg[/img][/url]

In Thumbnail + Link + Description mode, I get
[url=https://mangadex.org/title/19617/Tensei-Shitara-Slime-Datta-Ken--Mamono-no-Kuni-no-Arukikata]Tensei Shitara Slime Datta Ken: Mamono no Kuni no Arukikata[/url] | Description: [spoiler]The story that revolves around a bunny in a demon country of Rimuru Tempest.[/spoiler]
[url=https://mangadex.org/title/19617/Tensei-Shitara-Slime-Datta-Ken--Mamono-no-Kuni-no-Arukikata][img]https://mangadex.org/images/manga/19617.thumb.jpg[/img][/url]


By the way, this looks pretty good centered. However, mangadex spoilers do not seem to play well with formatting ATM. Best to try with description off
[center][url=https://mangadex.org/title/19617/Tensei-Shitara-Slime-Datta-Ken--Mamono-no-Kuni-no-Arukikata]Tensei Shitara Slime Datta Ken: Mamono no Kuni no Arukikata

[img]https://mangadex.org/images/manga/19617.thumb.jpg[/img][/url][/center]


Suggestion dialog legend:

  • @ means the user has mentioned you before
  • comments icon means they are talking in the current thread.
  • bookmark icon means you are following this chapter

Installation:
This is a UserScript! To use it, you need a UserScript manager such as GreaseMonkey, ViolentMonkey, or TamperMonkey available from your browser's App/Web store!
Developed for ViolentMonkey on FireFox.
Tested on Chrome/Chromium, and FireFox Nightly on Android.

After installing with your monkey of choice, go to any thread and:

  1. type @ to start the autocompletion
  2. type however much of the name is necessary to see it in the suggestion list (note it will only suggest users you have seen since installing).
  3. Hover over their name, or push the down arrow until their name is highlighted.
  4. Press Tab, Enter, or LeftMouseClick to accept the suggestion!

Note autocompletion for titles won't work until you visit the home page while logged in, or the manga's title page.
Autocompletion for a user won't work until we see a post by that user.

Current Bugs/Limitations:

  • Your own name is not filtered out of suggestion (because I talk to myself quite a bit.... is that sad?)
  • Does not currently differentiate histories for different accounts (same suggestions will pop up even if you login to a different account)
  • We are considering any value other than unfollowed as Following. This includes dropped.
  • FireFox Android does not show suggestions until you have typed at least one letter, or tap next to the @ sighn in the textbox.

TODO:

  • Update example image with new UI (minimal change) and titles.
  • Add example image for settings UI.