Skip to content

Commit

Permalink
Screenshots updated
Browse files Browse the repository at this point in the history
  • Loading branch information
up209d committed Dec 22, 2017
1 parent 0a97e30 commit d6a4ae6
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 49 deletions.
5 changes: 2 additions & 3 deletions README.md
Expand Up @@ -4,12 +4,11 @@

Extension can be found here:


https://chrome.google.com/webstore/detail/save-all-resources/abpdnfjocnmdomablahdcfnoggeeiedb?hl=en-US

- 0.0.9: Add compressing ([zip.js](https://gildas-lormeau.github.io/zip.js/)) option that fetch all assets from browser cache, compress and download them at once. Thanks to [@shanligang](https://github.com/shanligang) for your great idea and contribution!
- 0.0.9: Add a compressing option that fetch all resources from browser-cache, compress([zip.js](https://gildas-lormeau.github.io/zip.js/)) & download at once. Thanks to [@shanligang](https://github.com/shanligang) for great idea/contribution!

- 0.0.8: Continue download on chrome runtime error, bug fixes, violating path fixes.
- 0.0.8: Continue download on Chrome runtime error, bug fixes, violating path fixes.

- 0.0.7: Violating path fixes.

Expand Down
Binary file added screenshot.BK.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 10 additions & 5 deletions unpacked/content.js
Expand Up @@ -437,7 +437,7 @@ function addItemsToZipWriter(blobWriter, items, callback) {
try {
var tryAtob = atob(item.content);
} catch (err) {
console.log('Not Base64 fallback to text');
console.log(item.url, ' is not base64 encoding, fallback to plain text');
item.encoding = null;
}
}
Expand All @@ -455,21 +455,26 @@ function addItemsToZipWriter(blobWriter, items, callback) {
function () {
// On Success
addItemsToZipWriter(blobWriter, rest, callback);


// Update Report Table
newList.className = 'each-done';
newList.innerHTML = '<li>Done</li><li class="success">Success</li><li>' + item.url + '</li>';
newList.innerHTML = '<li>Added</li><li class="success">Success</li><li>' + item.url + '</li>';
document.getElementById('debug').insertBefore(newList, document.getElementById('debug').childNodes[0]);
},
function () {
// On Progress
}
);
} else {
// If no size, skip to next item

console.log('EXCLUDED: ',item);

// Update Report Table
newList.className = 'each-failed';
newList.innerHTML = '<li>Failed</li><li class="failed">Failed</li><li>' + item.url + '</li>';
newList.innerHTML = '<li>Excluded</li><li class="failed">Failed</li><li>' + item.url + '</li>';
document.getElementById('debug').insertBefore(newList, document.getElementById('debug').childNodes[0]);

// If no size, skip to next item
addItemsToZipWriter(blobWriter, rest, callback);
}
});
Expand Down
41 changes: 0 additions & 41 deletions unpacked/zip/ZipFile.js

This file was deleted.

0 comments on commit d6a4ae6

Please sign in to comment.