Running live here:
jpillora / base64-encoder Goto Github PK
View Code? Open in Web Editor NEWBase64 Encoder
Home Page: https://jpillora.com/base64-encoder/
Base64 Encoder
Home Page: https://jpillora.com/base64-encoder/
Running live here:
demo doesn't seem to work, dropped png and got nothing...
Just an idea, but how about allowing users to disable the localStorage
part? You could have a checkbox on the page, and run the localStorage
code conditionally (only if .checked
).
Use case: The user wants to perform the task in incognito mode due to the sensitivity of the file.
I think the woff prefix should be this, not sure if it makes any difference:
data:application/x-font-woff;charset=utf-8;base64,
Thanks for this project, it's my new favourite website :)
Thanks, just the tool I was looking for (client-side, JS only) to embed my favicon.
With Firefox 49.0.1 on Windows the image https://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png is reduced to an invisible 1x1 image in cache, although if I (re-)load this file directly, it is properly displayed.
This seems to be caused by the img tag not being closed (https://github.com/jpillora/base64-encoder/blob/gh-pages/index.html#L58).
The validators don't catch this at first because the HTML is slightly off:
Auto-detect type:
https://validator.w3.org/check?uri=http%3A%2F%2Fjpillora.com%2Fbase64-encoder%2F&charset=%28detect+automatically%29&doctype=Inline&group=0
HTML5:
https://validator.w3.org/nu/?doc=http%3A%2F%2Fjpillora.com%2Fbase64-encoder%2F
So you might want to add <!DOCTYPE html>
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.