i am trying to code a chrome extension that shows the bookmarks in an html page having the name, url and thumbnail of the tab. So far i got the JS to capture the tab thumbnail in a PNG format but now i need to store it somewhere so when i open the extension's page the images could be there.
$scope.getPageThumbnail = function() { chrome.tabs.captureVisibleTab(null, {format: 'png'}, function(img) { $scope.img = img; } ); }; Is there a way to store images inside the extension so if the extension is removed, everything is deleted? Thank you in advance, Daniel.