--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/51c06aaa-6b63-40be-8fe7-5ec062b77a4d%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
You are right. I forgot about the download attribute.However, if you ever want to make this into a website, the download attribute does not have cross-browser support.
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/eb82994a-7b1b-40d8-abfb-9a591650864d%40chromium.org.
You are right. I forgot about the download attribute.However, if you ever want to make this into a website, the download attribute does not have cross-browser support.
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/eb82994a-7b1b-40d8-abfb-9a591650864d%40chromium.org.
it's not about downloading the file (that part works fine)it's about Chrome internal downloads page (chrome://downloads)Chrome is listing all downloads, and in the case of files downloaded as dataURL it is actual presenting that raw downloaded data. If the file is larger (or if there are many of those files) internal Chrome's download page is stuck or leads to crash.I'm not sure how filesaver.js library works, but if using same methods I don't think it will change something on chrome internal page.Like I said, I'm cleaning those downloads from my extension after they done, but....here is ss (it's from Opera, but the same situation)it doesn't matter if code is hidden behind elipsies or something like that, it still clutters the Chrome downloads page.
2015-05-02 17:37 GMT+02:00 Daniel F <dan...@openmailbox.org>:
You are right. I forgot about the download attribute.However, if you ever want to make this into a website, the download attribute does not have cross-browser support.
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
What is your extension saving?
On Saturday, May 2, 2015 at 8:53:33 AM UTC-7, Wolf War wrote:
it's not about downloading the file (that part works fine)it's about Chrome internal downloads page (chrome://downloads)Chrome is listing all downloads, and in the case of files downloaded as dataURL it is actual presenting that raw downloaded data. If the file is larger (or if there are many of those files) internal Chrome's download page is stuck or leads to crash.I'm not sure how filesaver.js library works, but if using same methods I don't think it will change something on chrome internal page.Like I said, I'm cleaning those downloads from my extension after they done, but....here is ss (it's from Opera, but the same situation)it doesn't matter if code is hidden behind elipsies or something like that, it still clutters the Chrome downloads page.
2015-05-02 17:37 GMT+02:00 Daniel F <dan...@openmailbox.org>:
You are right. I forgot about the download attribute.However, if you ever want to make this into a website, the download attribute does not have cross-browser support.
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/eb82994a-7b1b-40d8-abfb-9a591650864d%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/d9d76ff1-3ce3-4073-98af-400ff18a6867%40chromium.org.
user data...
2015-05-02 17:54 GMT+02:00 Daniel F <dan...@openmailbox.org>:
What is your extension saving?
On Saturday, May 2, 2015 at 8:53:33 AM UTC-7, Wolf War wrote:
it's not about downloading the file (that part works fine)it's about Chrome internal downloads page (chrome://downloads)Chrome is listing all downloads, and in the case of files downloaded as dataURL it is actual presenting that raw downloaded data. If the file is larger (or if there are many of those files) internal Chrome's download page is stuck or leads to crash.I'm not sure how filesaver.js library works, but if using same methods I don't think it will change something on chrome internal page.Like I said, I'm cleaning those downloads from my extension after they done, but....here is ss (it's from Opera, but the same situation)it doesn't matter if code is hidden behind elipsies or something like that, it still clutters the Chrome downloads page.
2015-05-02 17:37 GMT+02:00 Daniel F <dan...@openmailbox.org>:
You are right. I forgot about the download attribute.However, if you ever want to make this into a website, the download attribute does not have cross-browser support.
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/eb82994a-7b1b-40d8-abfb-9a591650864d%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
Is it images, spreadsheets, rich text files, text files?What about the filesystem api?
On Saturday, May 2, 2015 at 8:56:19 AM UTC-7, Wolf War wrote:
user data...
2015-05-02 17:54 GMT+02:00 Daniel F <dan...@openmailbox.org>:
What is your extension saving?
On Saturday, May 2, 2015 at 8:53:33 AM UTC-7, Wolf War wrote:
it's not about downloading the file (that part works fine)it's about Chrome internal downloads page (chrome://downloads)Chrome is listing all downloads, and in the case of files downloaded as dataURL it is actual presenting that raw downloaded data. If the file is larger (or if there are many of those files) internal Chrome's download page is stuck or leads to crash.I'm not sure how filesaver.js library works, but if using same methods I don't think it will change something on chrome internal page.Like I said, I'm cleaning those downloads from my extension after they done, but....here is ss (it's from Opera, but the same situation)it doesn't matter if code is hidden behind elipsies or something like that, it still clutters the Chrome downloads page.
2015-05-02 17:37 GMT+02:00 Daniel F <dan...@openmailbox.org>:
You are right. I forgot about the download attribute.However, if you ever want to make this into a website, the download attribute does not have cross-browser support.
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/eb82994a-7b1b-40d8-abfb-9a591650864d%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/d9d76ff1-3ce3-4073-98af-400ff18a6867%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/548fe351-4c0c-4c73-bdcf-b1b3eb1d353b%40chromium.org.
fileSystem is reserved for chromium appsdata is screenshots or notes
2015-05-02 17:58 GMT+02:00 Daniel F <dan...@openmailbox.org>:
Is it images, spreadsheets, rich text files, text files?What about the filesystem api?
On Saturday, May 2, 2015 at 8:56:19 AM UTC-7, Wolf War wrote:
user data...
2015-05-02 17:54 GMT+02:00 Daniel F <dan...@openmailbox.org>:
What is your extension saving?
On Saturday, May 2, 2015 at 8:53:33 AM UTC-7, Wolf War wrote:
it's not about downloading the file (that part works fine)it's about Chrome internal downloads page (chrome://downloads)Chrome is listing all downloads, and in the case of files downloaded as dataURL it is actual presenting that raw downloaded data. If the file is larger (or if there are many of those files) internal Chrome's download page is stuck or leads to crash.I'm not sure how filesaver.js library works, but if using same methods I don't think it will change something on chrome internal page.Like I said, I'm cleaning those downloads from my extension after they done, but....here is ss (it's from Opera, but the same situation)it doesn't matter if code is hidden behind elipsies or something like that, it still clutters the Chrome downloads page.
2015-05-02 17:37 GMT+02:00 Daniel F <dan...@openmailbox.org>:
You are right. I forgot about the download attribute.However, if you ever want to make this into a website, the download attribute does not have cross-browser support.
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/eb82994a-7b1b-40d8-abfb-9a591650864d%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/d9d76ff1-3ce3-4073-98af-400ff18a6867%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/d43a6485-6fce-4dc2-9439-f5ec0179425f%40chromium.org.
Yes, you can convert it to a blob. However, while the URLs will not be long, they will still show up in the downloads page (and may clutter it), I believe. If that is fine with you, then this is the way to go.
☆PhistucK
On Sat, May 2, 2015 at 7:14 PM, Wolf War <wolf...@gmail.com> wrote:
:)actually I'm using that API, but it's the result that is subjectchrome.downloads.download({'url': 'data:text/plain;charset=utf-8,'+n4, 'saveAs': false, 'filename': filename}, function(downloadId){setTimeout(function(){chrome.downloads.erase({'id': downloadId});},3000);});Seems like I need to convert it to blob. In that case, data is not presented on downloads page. Just tested on fileSaver demo page
On Saturday, May 2, 2015 at 1:07:31 AM UTC+2, Wolf War wrote:On internal downloads page, in from field usually is URL of downloaded file.But in the case of dataURI downloads (for instance, saving extension data), info presented is actual raw saved data, and in the case of larger files this could lead to browser crash.To avoid that, I'm cleaning download history after my extension saved data. First question is, is that the proper way of dealing with this problem?And second, shouldn't Chrome filter those downloads, and in the case of data:.. just write some info how file was downloaded (maybe ext. name if from extension)?
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.