MCPcopy Create free account

hub / github.com/404-novel-project/novel-downloader / functions

Functions1,033 in github.com/404-novel-project/novel-downloader

↓ 173 callersFunctionrm
(selector: string, all = false, dom: HTMLElement)
src/lib/dom.ts:2
↓ 93 callersMethodparse
()
src/main/Chapter.ts:121
↓ 67 callersFunctioncleanDOM
( elem: Element, imgMode: "naive" | "TM", options?: Options )
src/lib/cleanDOM.ts:286
↓ 64 callersMethodremove
(key: string)
src/lib/localStorageExpired.ts:76
↓ 63 callersMethodset
(key: string, value: any, expired: number)
src/lib/localStorageExpired.ts:43
↓ 61 callersFunctiongetHtmlDOM
( input: RequestInfo, charset?: string, init?: RequestInit, test = (response: Response) => Promise.res
src/lib/http.ts:185
↓ 57 callersFunctiongetAttachment
( url: string, mode: "naive" | "TM", prefix = "", noMD5 = false, comments = getRandomName(), optio
src/lib/attachments.ts:26
↓ 49 callersFunctionmkRuleClass
({ bookUrl, bookname, author, introDom, introDomPatch, coverUrl, additionalMetadatePatch, aLis
src/rules/onePage/template.ts:49
↓ 42 callersFunctionintroDomHandle
( introDom: (Element | HTMLElement) | null, domPatch?: (introDom: HTMLElement) => HTMLElement )
src/lib/rule.ts:12
↓ 39 callersFunctionrm2
(filters: (string | RegExp)[], dom: HTMLElement)
src/lib/dom.ts:15
↓ 31 callersFunctionrms
(filters: (string | RegExp)[], dom: HTMLElement)
src/lib/dom.ts:47
↓ 31 callersFunctionsleep
(ms: number)
src/lib/misc.ts:52
↓ 30 callersMethodget
(key: string)
src/lib/localStorageExpired.ts:55
↓ 23 callersFunctionnextPageParse
({ chapterName, chapterUrl, charset, selector, domPatch, contentPatch, getNextPage, continueCo
src/lib/rule.ts:45
↓ 22 callersMethodfile
(filename: string, fileBlob: Blob, nocompress = false)
src/lib/zip.ts:90
↓ 20 callersFunctionmkBiquge
( introDomPatch: (introDom: HTMLElement) => HTMLElement, contentPatch: (content: HTMLElement) => HTMLEleme
src/rules/biquge/template.ts:126
↓ 19 callersFunctionggetHtmlDOM
( url: string, charset?: string, init?: GfetchRequestInit, test = (response: Tampermonkey.Response<obj
src/lib/http.ts:277
↓ 19 callersFunctionmkRuleClass
({ bookUrl, anotherPageUrl, ToCUrl, getBookname, getAuthor, getIntroDom, introDomPatch, getCov
src/rules/twoPage/template.ts:52
↓ 16 callersFunctionhtmlTrim
(dom: HTMLElement)
src/lib/cleanDOM.ts:1190
↓ 15 callersFunction_GM_xmlhttpRequest
( details: Tampermonkey.Request<TContext> )
src/lib/GM.ts:13
↓ 14 callersMethoddecrypt
(doc: Document)
src/rules/special/original/jjwxc.ts:888
↓ 13 callersFunction$
(selector: string)
src/rules/onePage/xbyuan.ts:6
↓ 13 callersFunctiongfetch
( url: string, { method = "GET", headers, data, cookie, binary, nocache, reval
src/lib/http.ts:92
↓ 13 callersFunctionmkRuleClass
({ bookUrl, bookname, author, introDom, introDomPatch, coverUrl, getIndexUrls, getIndexPages,
src/rules/onePageWithMultiIndexPage/template.ts:47
↓ 13 callersFunctionpublicChapter
()
src/rules/special/original/ciweimao.ts:495
↓ 12 callersMethodclose
* Close and cleanup OCR resources
src/lib/decoders/OCRDecoder.ts:165
↓ 12 callersFunctionvipChapter
( parentWidth: number, setFontSize: string )
src/rules/special/original/ciweimao.ts:583
↓ 10 callersFunction_GM_setValue
(name: string, value: any)
src/lib/GM.ts:27
↓ 9 callersFunctiondeepcopy
(obj: T)
src/lib/misc.ts:56
↓ 9 callersFunctionfindBase
(elem: Element, withKeep = true)
src/lib/cleanDOM.ts:237
↓ 9 callersFunctionfullWidthLength
(input: string)
src/lib/dom.ts:204
↓ 9 callersFunctiongetSectionName
( chapterElement: Element, sections: NodeListOf<Element>, getName: (sElem: Element) => string )
src/lib/rule.ts:115
↓ 9 callersFunctionloop
( nodes: (Element | Text)[], _outDom: HTMLElement )
src/lib/cleanDOM.ts:1067
↓ 8 callersFunctioncommon
( nodeName: string, getText: (textContent: string) => string, elem: Element )
src/lib/cleanDOM.ts:944
↓ 8 callersFunctionggetText
( url: string, charset?: string, init?: GfetchRequestInit, test = (response: Tampermonkey.Response<obj
src/lib/http.ts:230
↓ 7 callersMethoddecode
* Decode image to text using PaddleOCR
src/lib/decoders/OCRDecoder.ts:40
↓ 7 callersFunctiongetChapter
({ chapterUrl, chapterName, isVIP, isPaid, charset, options, rootPath, parentWidth, setFontS
src/rules/special/original/ciweimao.ts:415
↓ 7 callersMethodgetInstance
* Get singleton instance
src/lib/decoders/ImageCache.ts:21
↓ 6 callersFunction_GM_getValue
( name: string, defaultValue?: TValue )
src/lib/GM.ts:37
↓ 6 callersFunctioncreateStyle
(style: string, id?: string)
src/lib/dom.ts:142
↓ 6 callersMethodgetConfig
* Gets the configuration object
src/rules/special/lib/weimengcms.ts:451
↓ 5 callersFunctionconvertBr
(dom: HTMLElement, force = false)
src/lib/cleanDOM.ts:1234
↓ 5 callersFunctioncreateEl
(el: string)
src/lib/dom.ts:131
↓ 5 callersMethodensureWeimengClient
* Ensures WeimengCMS client is available, throws error if not
src/rules/special/reprint/pilishuwu.ts:42
↓ 5 callersMethodensureWeimengClient
* Ensures WeimengCMS client is available, throws error if not
src/rules/special/reprint/mangguoshufang.ts:35
↓ 5 callersFunctiongetFrameContentConditionWithWindow
( url: string, stopCondition: (frame: HTMLIFrameElement) => boolean, sandboxs?: string[] )
src/lib/http.ts:388
↓ 5 callersFunctiongetJjwxcTokenFromOptions
()
src/rules/special/original/jjwxc.ts:35
↓ 5 callersFunctionisVibrantStr
(colorStr: string | null | undefined)
src/ui/theme.ts:61
↓ 5 callersFunctionpostHook
({ dom, text, images, }: { dom: HTMLElement; text: string; images: AttachmentClass[]
src/lib/cleanDOM.ts:1162
↓ 4 callersFunction$
(selector: string)
src/rules/onePage/69shuba.ts:6
↓ 4 callersFunction$
(selector: string)
src/rules/onePage/dishuge.ts:6
↓ 4 callersFunctioncontentPatch
(content, doc)
src/rules/onePage/xbyuan.ts:29
↓ 4 callersFunctionconvertHTMLtoXHTML
(input: string | Document)
src/lib/dom.ts:221
↓ 4 callersFunctiondecrypt
(item: DecryptItem)
src/rules/special/original/ciweimao.ts:442
↓ 4 callersFunctiongetAList
()
src/rules/onePage/guidaye.ts:19
↓ 4 callersFunctiongetAttachmentClassCache
(url: string)
src/lib/attachments.ts:11
↓ 4 callersFunctiongetCookie
(name: string)
src/rules/special/reprint/langge.ts:154
↓ 4 callersMethodgetImageData
* Get image data from cache or download if not cached
src/lib/decoders/ImageCache.ts:31
↓ 4 callersFunctiongetPreviousSibling
(node: Element | Text)
src/lib/dom.ts:165
↓ 4 callersFunctiongetRandomName
()
src/lib/attachments.ts:74
↓ 4 callersFunctiongetSections
()
src/ui/ChapterList.ts:23
↓ 4 callersFunctiongetSectionsObj
( chapters: Chapter[], chapterSort = (a: Chapter, b: Chapter) => a.chapterNumber - b.chapterNumber )
src/save/misc.ts:13
↓ 4 callersFunctiongetVertex
( ele: Element )
src/lib/adBlocker.ts:71
↓ 4 callersFunctionlist
(elem: Element)
src/lib/cleanDOM.ts:484
↓ 4 callersFunctionnormalizeJjwxcToken
(token: string)
src/rules/special/original/jjwxc.ts:27
↓ 4 callersFunctiontest
(response: Response)
src/rules/biquge/mht.ts:17
↓ 3 callersMethod$
(selector: string)
src/rules/special/reprint/ttkan.ts:17
↓ 3 callersFunction_GM_deleteValue
(name: string)
src/lib/GM.ts:50
↓ 3 callersMethodaddAttachment
(attachment: AttachmentClass)
src/save/epub.ts:820
↓ 3 callersMethodaddChapter
(chapter: Chapter, suffix = "")
src/save/epub.ts:791
↓ 3 callersFunctionbaseOnePage
( introDomPatch: (introDom: HTMLElement) => HTMLElement, concurrencyLimit?: number, sleepTime?: number,
src/rules/biquge/template.ts:76
↓ 3 callersMethodbookParse
()
src/rules/twoPage/template.ts:108
↓ 3 callersFunctioncheckObjct
(name: string)
src/detect.ts:17
↓ 3 callersFunctionchildNodesCopy
(src: Element, dest: Element)
src/lib/dom.ts:59
↓ 3 callersMethodclearSession
* Clear all mappings for a download session
src/lib/SessionMappingCache.ts:57
↓ 3 callersFunctiondecodeCssString
(value: string)
src/rules/special/original/qidian.ts:616
↓ 3 callersFunctionextensionToMimetype
(ext: string)
src/lib/mimeDbLite.ts:41
↓ 3 callersFunctionfetchWithRetry
( input: RequestInfo, init?: RequestInit )
src/lib/http.ts:16
↓ 3 callersFunctionfilter
(chapter: Chapter)
src/ui/ChapterList.ts:69
↓ 3 callersFunctionfixText
(text: string)
src/lib/cleanDOM.ts:510
↓ 3 callersFunctiongetChapterList
()
src/rules/special/reprint/sbxh.ts:290
↓ 3 callersFunctiongetChapters
(_book: Book)
src/rules.ts:353
↓ 3 callersFunctiongetContentFromUrl
(chapterUrl, chapterName, charset)
src/rules/onePage/zjsw.ts:36
↓ 3 callersFunctiongetFixNearby
(elem: Element)
src/lib/adBlocker.ts:46
↓ 3 callersFunctiongetFrameContentEvent
( url: string, timeout = 0, eventType: "load" | "DOMContentLoaded" = "load", sandboxs?: string[] )
src/lib/http.ts:317
↓ 3 callersFunctiongetHtmlDomWithRetry
( input: RequestInfo, charset?: string, init?: RequestInit, test = (response: Response) => Promise.res
src/lib/http.ts:208
↓ 3 callersFunctiongetObjectUrl
(url: string)
src/ui/TestUI.ts:171
↓ 3 callersMethodgetPlaceholderChar
* Get the placeholder character used for failed decoding
src/rules/special/reprint/xiguashuwu.ts:152
↓ 3 callersFunctiongetRule
()
src/router/download.ts:3
↓ 3 callersFunctiongetText
( input: RequestInfo, charset?: string, init?: RequestInit, test = (response: Response) => Promise.res
src/lib/http.ts:141
↓ 3 callersMethodinit
()
src/main/Chapter.ts:91
↓ 3 callersMethodinit
()
src/main/Attachment.ts:85
↓ 3 callersFunctioninsertBrBeforeText
(elem: HTMLElement)
src/lib/dom.ts:237
↓ 3 callersFunctionisHiddenStyle
(style: CSSStyleDeclaration)
src/rules/special/original/qidian.ts:328
↓ 3 callersFunctionmkBiqugeNextPage
( introDomPatch: (introDom: HTMLElement) => HTMLElement, contentPatch: (content: HTMLElement, doc: Documen
src/rules/biquge/template.ts:148
↓ 3 callersFunctionparse
(doc: Document, options?: ReadabilityOptions)
src/lib/readability.ts:16
↓ 3 callersFunctionputAttachmentClassCache
(attachmentClass: AttachmentClass)
src/lib/attachments.ts:17
↓ 3 callersFunctionrandomUUID
()
src/lib/misc.ts:115
↓ 3 callersFunctionsaveLogTextToFile
()
src/log.ts:41
↓ 3 callersFunctionsetJjwxcToken
(token: string)
src/rules/special/original/jjwxc.ts:46
next →1–100 of 1,033, ranked by callers