Code Monkey home page Code Monkey logo

anymetadata-bookmarklet-js's Introduction

Any Metadata Bookmarklet

The Any Metadata Bookmarklet is a bookmarklet which allows a person to save any metadata about a Domain that they would like (duh). It uses html5 localStorage.

To use, just load the script onto a server of your choice and add a bookmarklet with the following code (line breaks and spaces added for readability, remove them):

javascript:(function(){ _amd=document.createElement('SCRIPT'); _amd.type='text/javascript'; _amd.src='http://YOUR_URL_HERE/js/anymetadata.bookmarklet.js'; document.getElementsByTagName('head')[0].appendChild(_amd);})();

or just use the bookmarklet that’s on my server (http://davidwparker.com/js/anymetadata.bookmarklet.js).

There are some things which I would like to see changed/added:

  1. Add some tests!
  2. Load json2, jQuery, and jQuery-ui and theme in a better manner.
  3. Make it so I don’t need to use intervals to check that the scripts/css were inserted into the dom before using them.
  4. Allow the bookmarklet to save to a specific URL and not just the domain.
  5. Allow the bookmarklet to save to a server and not just localStorage (for cross-browser metadata).

Any feedback is appreciated.

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.