devtools://devtools/bundled/devtools_app.html
let localStorageObject = {}; // 创建一个空对象
for (let i = 0; i < localStorage.length; i++) {
const key = localStorage.key(i); // 获取第 i 个项的键名
const value = localStorage.getItem(key); // 根据键名获取对应的值
localStorageObject[key] = value; // 将键值对添加到对象中
}
copy(localStorageObject);
previouslyViewedFiles
sourcesSearchConfig
xhrBreakpoints
breakpointConditionHistory
consolePins
domBreakpoints
experiments
searchAsYouType
watchExpressions
breakpoints
networkSearchConfig
locallnspectorVersion
consoleHistory
参考
https://stackoverflow.com/questions/13763361/get-console-history
https://stackoverflow.com/questions/51802601/save-export-chromes-javascript-console-input-history
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。