oct16/TimeCat

希望RecordOptions 增加exclude 配置项

qwe1177 opened this issue · 1 comments

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

排除不想收集的页面url, 比如一个系统有全局的recorder实例进行收集数据, 又增加了一个player回放的页面,类似这种无意义的收集页面或者其他不想收集数据的页面。

What does the proposed API look like?

interface RecordOptions {
write?: boolean // write data to indexedDB, default is true
keep?: boolean // keep data in Storage otherwise auto-clear, default is true
audio?: boolean // if your want record audio, default is false
font?: boolean // record font, default is false
plugins?: RecorderPlugin[] // extend plugins here
rewriteResource?: (RewriteItem | PreFetchItem)[],
disableWatchers?: WatcherType[],
exclude?: string[],
}

已解决