-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome 65 : Can't open same-window link to "blob: #408
Comments
I think most browsers auto-close newly-opened download tabs now. I went ahead and added |
With this change in Chrome 65 and 67 (Canary) my downloads are now blocked as pop-ups. v1.3.3 still works fine in both versions. |
I guess we should conditionally detect chrome extensions & packaged apps before adding |
Why not leave it up to the user (developer) to specify the target via a option parameter? |
Can confirm that If there were major changes, I suggest bumping the major or minor package version (semver) to make it more clear. Thanks! |
Have you found any correlations with Adblock? In my project similar code (not FileSaver) stops working with Adblock, and only with Chrome 65. |
No AdBlock, Chrome 65, loading FileSaver through Require.js.
1.3.2 should call fileSaver(...) but does nothing So really don't know what to do. On year ago, in another project it worked flawlessly, but with a previous version of Chrome. |
My workaround (for a Chrome Packaged App) was to not use fileSaver, but rather chrome.fileSystem.chooseEntry
|
Nice, but I have no access to
What flag I'm missing? |
I don't think you will get access to |
Yes, I was too fast. I have not a packaged application, but a simple browser based app. This explains the missing fileSystem. OK back to a simple |
any news about this issue? |
Well, implemented the following code that works like a charm (launched from a button):
No need to support browsers besides Chrome, so this is OK for me. |
|
This is true in general. I need only to download from same origin. Actually I run a server on localhost and my browser connects only to localhost. |
@davidcalhoun I am trying to install 1.3.3 by using bower install file-saver#1.3.3 it installs 1.3.2 bower.json says it is 1.3.3 but in comments of filesave.js file it still says 1.3.2. I did a bower cache clean as well any idea what am I doing wrong? |
Unfortunately, it stopped working on my extension as well. Update FilerSaver to the new version, still no effect. |
@eligrey Echoing @crystalfp here. |
I have the same problem,what should I do? |
It seems that the latest update to Chrome (65) has lead to the window.saveAs() to fail in Chrome Extensions or Packaged Apps .
The error helpfully suggest
try target="_blank".
Do you know if we can pass a
target
to saveAs ?The text was updated successfully, but these errors were encountered: