From 2eb541ec2b7947fc5db530a14f290c0e0b371bcd Mon Sep 17 00:00:00 2001 From: FoxRefire <155989196+FoxRefire@users.noreply.github.com> Date: Thu, 25 Apr 2024 04:11:11 +0900 Subject: [PATCH] meta --- README.md | 6 +++--- popup_showHistory.js | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b12e6ce..71e464c 100644 --- a/README.md +++ b/README.md @@ -69,9 +69,9 @@ Only use it for content for which you own the rights and do not use it for pirac 7. popup.js calls pywidevine script using pyodide in browser ## Third-party libraries -* Pyodide -* Pywidevine -* json-view +* [Pyodide](https://github.com/pyodide/pyodide) ([MPL-2.0](https://github.com/pyodide/pyodide/blob/main/LICENSE)) +* [Pywidevine](https://github.com/devine-dl/pywidevine) ([GPL-3.0](https://github.com/devine-dl/pywidevine/blob/master/LICENSE)) +* [json-view](https://github.com/pgrabovets/json-view) ([MIT](https://github.com/pgrabovets/json-view/blob/master/LICENSE)) ### Big Thanks and inspired by https://github.com/emarsden/pssh-box-wasm/ diff --git a/popup_showHistory.js b/popup_showHistory.js index 94f858d..e9aaac4 100644 --- a/popup_showHistory.js +++ b/popup_showHistory.js @@ -1,6 +1,7 @@ function showHistory(){ chrome.storage.local.get(null, ((data) => { - jsonview.renderJSON(JSON.stringify(data), document.getElementById('histDisp')); + let tree=jsonview.renderJSON(JSON.stringify(data), document.getElementById('histDisp')); + jsonview.toggleNode(tree); })); document.getElementById('home').style.display='none'; document.getElementById('history').style.display='block';