If for example you follow the link:  data:application/octet-stream;base64,SGVsbG8=  The browser will prompt you to download a file consisting of the data held as base64 in the hyperlink itself.  Is there any way of suggesting a default name in the...
Here's my HTML:  <a>View it in your browser</a> <div id="html">     <h1>Doggies</h1>     <p style="color:blue;">Kitties</p> </div>   How do I use JavaScript to make the href attrib...
How can I use create a Web worker from a string (which is supplied via a POST request)?  One way I can think of, but I'm not sure how to implement it, is by creating a data-URI from the server response, and passing that to the Worker constructo...
I want to export data as a Data URI, only if the size of the data doesn't exceed the max size of the Data URI supported by the current browser is bigger than the file I want to download.  document.location.href= "data:application/vnd.openxmlf...
Following the questions:   Javascript or Flash export to CSV/Excel  Is it possible to use any HTML5 fanciness to export local storage to Excel?   and as suggested, I'm thinking about generating a CSV file content in the client and then use a Data...
After reading this article I don't have a clear answer:  http://palizine.plynt.com/issues/2010Oct/bypass-xss-filters/   Will browsers interpret text/html data URI payload in <img> src as an document where <script> tags are executed? I...
I’m trying to implement mixin customizing underline of text, like polyfill for CSS3 text-decoration properties: line, style, color, which are not supported yet by browsers.  My idea is to perform painting proper line in canvas, then convert it to d...
I get binary data of jpeg images from a series of httprequests about every 50-200 ms, I convert this data to a base64 string and insert the string in the img tag with javascript.  var img = document.getElementById('img1'); img.src = 'data...
When I attempt to set an image to use a data url via JavaScript (from this question), it does not appear to work in IE8.  The page in that first link has: <img id="foo" src="alphaball.png"> On line 25, this JavaScript code execu...
I am trying to grab an image from an interactive map using dataURI. That image is then appended to a new window layout for printing.  This works in Firefox and Chrome but not in IE11 or Edge which both throw errors. IE: "HierarchyRequestError"...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.