mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
11 lines
249 B
TypeScript
11 lines
249 B
TypeScript
import { NodeContentReplacer } from './node-content-replacer'
|
|
|
|
export class RecursiveReplacer extends NodeContentReplacer {
|
|
isKeywordMatch() {
|
|
return true
|
|
}
|
|
replaceContent(node: Node): Node[] {
|
|
return Array.from(node.childNodes)
|
|
}
|
|
}
|