novelupdates Cover Preview

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

当前为 2019-02-24 提交的版本,查看 最新版本

作者
sz
评分
0 0 0
版本
1.3.3
创建于
2017-01-11
更新于
2019-02-24
大小
20.9 KB
许可证
http://creativecommons.org/licenses/by-nc-sa/4.0/
适用于

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/*
  • SELECTOR1: lookup which link target the seriepage
  • 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 SELECTOR1 = 'td a'; //index/group/readinglist pages const SELECTOR2 = '.wpb_wrapper > a, .messageContent a'; //individual serie pages recommendation titles, forum const PREDIFINEDNATIVTITLE = "^Recommended by"; //in case native title is used to display something different const INDIVIDUALPAGETEST = "novelupdates.com/series/"; var STYLESHEETHIJACKFORBACKGROUND = "breadcrumb_nu"; //if unknown set empty ""; classname without leading dot var STYLESHEETHIJACKFORTITLE = "tbl_sort"; //if unknown set empty ""; classname without leading dot const DEFAULTTITLEBACKGROUNDCOLOR = '#aac'; //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://gf.qytechs.cn/scripts/26513-mangaupdates-cover-preview

    QingJ © 2025

    镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址