This commit is contained in:
FoxRefire 2024-04-25 04:11:11 +09:00
parent ef22edd936
commit 2eb541ec2b
2 changed files with 5 additions and 4 deletions

View File

@ -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/

View File

@ -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';