Coder Social home page Coder Social logo

base64-encoder's Issues

“Don’t store in localStorage” checkbox

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.

GitHub link image not shown, HTML validity (missing doctype)

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>.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.