Since chrome.storage can't store ArrayBuffer
the most reasonable choice for files is IndexedDB.(由于chrome.storage无法存储ArrayBuffer
,因此文件的最合理选择是IndexedDB。)
The options, assuming it's a very small object , may be stored in chrome.storage.(这些选项(假设它是一个很小的对象 )可以存储在chrome.storage中。)
sync so the user gets the same options on every device or chrome.storage.(同步,以便用户在每个设备或chrome.storage上获得相同的选项。) local if syncing doesn't make sense for your extension or the object is big.(如果同步对您的扩展名没有意义或对象很大,则为本地 。) 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…