Comments (3)
For mobile browsers, instead of downloading file, it opens in new tab
from js-file-downloader.
Hi @takosunil
There is an option to enable this lib on mobile devices.
By default is disabled on mobile and works as you have described (opening new tab etc.).
Have you tried to enable forceDesktopMode
setting it to true
?
from js-file-downloader.
Thanks @AleeeKoi, its working. 👍
from js-file-downloader.
Related Issues (20)
- Append filename with mime type HOT 3
- Typo in initDonwload function name
- Add ability to provide 'onloadstart' callback HOT 2
- does not exist then() in JsFileDownloader HOT 1
- CORS error in example HOT 1
- Multiple download and checking download status of each file HOT 3
- Doesn't seem to work on mobile even if forceDesktopMode: true HOT 2
- Download on Chrome iOS and Firefox not working HOT 1
- Error when use "autoStart: false" HOT 1
- onloadstart is request time or actual download start? HOT 1
- How to use in Vue3 HOT 1
- ReferenceError: document is not defined HOT 1
- Not downloading on chrome mobile HOT 5
- Download files using HTTPS throw error on console HOT 4
- createObjectURL HOT 4
- Issue downloading a large file HOT 9
- Add possibility to cancel download HOT 2
- 403 error when try to download a file
- Refused to get unsafe header "Content-Disposition" HOT 2
- most common customFileSignatures should be built in, PDF & MP3 not working.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-file-downloader.