Skip to content

Commit

Permalink
Some properties are excluded from export
Browse files Browse the repository at this point in the history
  • Loading branch information
adokseo committed Dec 6, 2021
1 parent d4a4e74 commit a693f43
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "'Improve YouTube!' (Video & YouTube Tools)🎧",
"short_name": "ImprovedTube",
"description": "__MSG_description_ext__",
"version": "3.808",
"version": "3.809",
"default_locale": "en",
"icons": {
"128": "icons/128.png",
Expand Down
8 changes: 7 additions & 1 deletion ui/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -5667,7 +5667,13 @@ function exportData() {
var blob;

try {
blob = new Blob([JSON.stringify(satus.storage.data)], {
var data = Object.assign({}, satus.storage.data);

delete data.analyzer;
delete data.blacklist;
delete data.watched;

blob = new Blob([JSON.stringify(data)], {
type: 'application/json;charset=utf-8'
});
} catch (error) {
Expand Down

0 comments on commit a693f43

Please sign in to comment.