Gisellameloni / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
0 stars 0 forks source link

Bugfix: browser lockup on image export #1281

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I don't know how common it is, but some of my users reported their browsers 
locking up when the base64 string was being sent/rendered to the export window. 
As a work-around, I've made a simple extension so the browser forces the user 
to download the image file instead of seeing it in the export window. This uses 
download.js by Dan Davis.

Procedure:
1. Download this javascript file: http://pastebin.com/tfh8JVX1
2. Save it as 'ext-force_download.js' to your {svg-edit directory}\extensions
3. Open {svg-edit directory}\svg-edit.js
4. Add the 'ext-force_download.js' to curConfig.extensions

Enjoy.

If I've made any typos, please let me know!

Original issue reported on code.google.com by GoTeamSc...@gmail.com on 29 Jul 2015 at 1:12