novelupdates Cover Preview

Previews covers in novelupdates.com when hovering over hyperlinks that lead to novel pages.

As of 2020-11-20. See the latest version.

Author
sz
Ratings
0 0 0
Version
1.6.0
Created
2017-01-11
Updated
2020-11-20
Size
49 KB
License
http://creativecommons.org/licenses/by-nc-sa/4.0/
Applies to

Popup which gets displayed on hovering over serie titles on novelupdates.com. Tested for index/group/reading list and indiviudal serie pages. Cover image links getting pulled from each individual serie page.

minimum needed changes to use it on other sites:

  • change adresses in meta // @include https://www.novelupdates.com/* // @include http://www.novelupdates.com/*
  • INDIVIDUALPAGETEST: Know how to make a regex match to target serie pages
  • IMAGELINKCONTAINERS: Search for imagecontainer class where the cover is displayed
  • CONTAINERNUMBER: in case that imagecontainer class is used multiple times write the count in which container shows the cover
  • available settings: const PREDIFINEDNATIVTITLE = "^Recommended by"; //in case native title is used to display something different const INDIVIDUALPAGETEST = "novelupdates.com/series/"; var STYLESHEETHIJACKFORBACKGROUND = ".l-canvas"; //if unknown set empty ""; classname with leading dot var STYLESHEETHIJACKFORTITLE = '.widgettitle_nuf'; //if unknown set empty ""; classname with leading dot const DEFAULTTITLEBACKGROUNDCOLOR = '#2c3e50'; //if no hijack class style available use plain color const DEFAULTBACKGROUNDCOLOR ='#ccc'; //if no hijack class style available use plain color const IMAGELINKCONTAINERS = '.serieseditimg, .seriesimg'; //instead of single element class name with dot const CONTAINERNUMBER = 0; const IMAGEBLOCKER = "www.novelupdates.com/img/noimagefound.jpg";

    Example changes for mangaupdates https://greasyforks.org/scripts/26513-mangaupdates-cover-preview

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