Narnia's Psychedelic Mushrooms

    moocow

    1.1.0 • Public • Published

    moocow.js

    Play audio when a DOM element has child nodes added. What can I say, I'm making the world a better place.

    NPM

    Example Usage

    To be completed.

    Ready to Use on Any Website

    Thanks to the amazing power of browserify-cdn, moocow.js can be used on any website!

    <script src="https://wzrd.in/standalone/moocow@latest"></script>
    <script>
    var newEl = document.createElement('div');
     
    moocow(document.body);
    document.body.appendChild(newEl);
    </script> 

    Or you can use it on any site in using developer tools - load the script into the currently displayed page (this might be blocked by cross origin policy):

    var script = document.createElement('script');
    script.src = 'https://wzrd.in/standalone/moocow@latest';
    document.body.appendChild(script);

    Now inspect an element, and you can moocow enable it:

    moocow($0);

    Acknowledgements

    License(s)

    ISC

    Copyright (c) 2015, Damon Oehlman damon.oehlman@gmail.com

    Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

    THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

    Install

    npm i moocow

    DownloadsWeekly Downloads

    8

    Version

    1.1.0

    License

    ISC

    Last publish

    Collaborators

    • damonoehlman