mangaupdates Cover Preview

Previews covers in mangaupdates.com when hovering over hyperlinks that lead to serie pages.

These are versions of this script where the code was updated. Show all versions.

  • v2.7 2025-07-20

    since there seems to be pretty quick load throttling when loading multiple pages to get coverData
    there is often a need to manually update coverdata when coverPreview is not loaded properly. Visible/open coverPreview press [Key 5]

    For this reason auto loading of lists of coverdata is temporarily deactivated.

    Since i haven't found a global stylesheet class with color information
    DEFAULTBACKGROUNDCOLOR and DEFAULTTITLEBACKGROUNDCOLOR set to colors i found on site (in dark mode).

    updated query selectors
    - #main_content was changed to #mu-main
    - updated to using attribute selectors where available to make shorter queries

    ```
    "www.mangaupdates.com/series/": {
    [...]
    seriePageTitle: ".releasestitle",
    serieAlternativeNames: 'div[data-cy="info-box-associated"]',
    IMAGELINKCONTAINERS: 'div[data-cy="info-box-image"] > div > img', //instead of single element class name with dot seperated with comma
    [...]
    seriePageVotes:
    "#mu-main > div:nth-child(2) > div > div:nth-child(3) > div:nth-child(35)",
    seriePageStatus: 'div[data-cy="info-box-status"] > div > p',
    seriePageGenre: 'div[data-cy="info-box-genres"]',
    seriePageTags: 'div[data-cy="info-box-categories"] > div > div > ul',
    seriePageDescription:
    'div[data-cy="info-box-description"] > div > div > p',
    serieReadingListIcon: "#listLink", //#list_image
    serieReadingListTitle: "#showList > div > a > u",
    }
    ``

  • v2.6.6 2022-07-05

    Bugfix: skip already preloaded serie data on page crawl

  • v2.6.5 2022-07-05

    Quickfix spagetthi code.

    preloading set to ratelimit to 2s for each link.
    exchanged keyvalues for database from elementUrl to elementID to allow caching of preloaded pages

  • v2.6.4.1 2022-07-04

    increased ratelimit for preloading links from 1second to 2seconds since i still see some not preloaded links because of ratelimiting

  • v2.6.4 2022-07-04

    Seems like the homepage has changed their url paths.
    Instead of serielinks to mangaupdates.com/series.html?id=
    it's now mangaupdates.com/series/(randomstring?/cache?)/id

  • v2.6.3 2021-07-25

    serieReadingListIcon query changed from #list_image to #listLink; readinglisticon handling changed. First check for an image. If not available check for text/emoji; dataversion update to additionally save emoji/text symbols;

  • v2.6.2 2021-07-22

    changed individualpagetest from "mangaupdates.com/series.html?id=" to "series.html?id=" since individual page uses relative links to other series instead of absolute links

    Bugfix: ReadingListIcon/title query(serieReadingListIcon, serieReadingListTitle) were missing

  • v2.6.1 2021-03-01 update base to novelupdates Cover Preview version 2.6.0; update needed to incorporate tampermonkey update (xhr get responsetype changes)
  • v1.8.4 2020-12-14 bugfix: keep showing loading animation when changing popup style (changed refreshPopover to an earlier call loadImageFromBrowser inside hotkey calls)
  • v1.8.3 2020-12-13 added overflow autoscroll for long descriptions/tags; bugfix for older firefox 56 for css style start values.
  • v1.8.2 2020-12-11 removed debug console; added overflow hidden for too long descriptions
  • v1.8.1 2020-12-11 updated with current novelupdates version 1.8.1: added optional options (tags/description [hotkey 2], big/small styled popup [hotkey 3]; HotkeyList visible during holding of [Key H]
  • v1.7.3 2020-11-30 refactoring + small cosmetic change. (Shrink popup to image height if it is a wide image)
  • v1.7.2 2020-11-28 add hide hotkey option for small popup
  • v1.7.1 2020-11-27 bugfix: wrong text in small popup hide details -> show details
  • v1.7.0 2020-11-27 matching novelupdates version1.7.0 [refactoring + prolonged serieinfo cache to 90days + manual refresh (key 2/3) ]
  • v1.6.5 2020-11-22 bugfix
  • v1.6.4 2020-11-22 refactoring (optimization: removing spinner animation when popup hidden; double array conversion; added alternative "eventListenerStyle" default value = 0)
  • v1.6.3 2020-11-20 bugfix: INDIVIDUALPAGETEST set to "series.html?id=" since Category Recommendations links on individual seriepages are relative links
  • v1.6.1 2020-11-20 added "https://www.mangaupdates.com/groups.html?" for index/table style
  • v1.6.0 2020-11-20 updated with current novelupdates version (exchanged ajax call with GM_xmlhttpRequest; removed jquery; added showing reduced/detailed extra information)
  • v1.3.3 2019-02-25 because there are different values for datatitle between the forum and the normal site. Added array check for 'const PREDIFINEDNATIVTITLE = "Click for series info, Series Info";'. 'var PREDIFINEDNATIVTITLEARRAY = PREDIFINEDNATIVTITLE.split(RE)'. Exchanged 'if (serieTitle.match(PREDIFINEDNATIVTITLE))' with 'if(inBlocklist(serieTitle, PREDIFINEDNATIVTITLEARRAY))'
  • v1.3.2 2019-02-24 changed PREDIFINEDNATIVTITLE value to "Click for series info" -> displaying a correct title in the forum at the top of the hover preview
  • v1.3.1 2019-02-24 added div.p-1 a, div.p-2 a to SELECTOR1. Now working on the readinglist and author pages
  • v1.3 2019-02-23 Based with Novelupdates version 1.3; Updated SELECTOR1 to 'div.col-6 a' and IMAGELINKCONTAINERS to ".sContent" and CONTAINERNUMBER to 0
  • v1.2.4 2017-01-15 refactored cleaned up code; removed warnings for tampermonkey; cached a few jquery selectors;
  • v1.2.2 2017-01-14 exchanged if( link.match(IMAGEBLOCKERARRAY[i]) ) with if( link.match(IMAGEBLOCKERARRAY[i]) ) -> no need for prefixed http:// in imageblocker urls
  • v1.2 2017-01-14 imageblock can have multiple image urls seperated by a comma
  • v1.0 2017-01-14

长期地址
遇到问题?请前往 GitHub 提 Issues。