Neutrino Packing Machine

    iframe_tester

    1.0.0 • Public • Published

    Iframe Tester

    A simple way to verify if a user's provided link can be embedded in an iframe. It simply try in the background and report on it's failure as an event and soon in a promise.

    Installation

    npm install iframe_tester
    

    Usage

    IframeTester.test("http://reddit.com")
    
            //catch an iframe_failed event
            document.addEventListener('iframe_failed', function(){
                console.log("iframe failed");
            })
    
    

    Lisence

    See LICENSE file

    Install

    npm i iframe_tester

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • pywebdesign