Sha256: 131678d201157dc8afd9023312cf44cab97c846d4ae8382fa2aacbab9705c729

Contents?: true

Size: 967 Bytes

Versions: 35

Compression:

Stored size: 967 Bytes

Contents

$(window).ready( function( $ ) {

    $(document).ajaxStart( function() {
        $("#loading").show();
    }).ajaxStop( function() {
        $("#loading").hide();
    });

    $('.newWindow').click( function( event ){

        var url = $(this).attr("href");
        var windowName = $(this).attr("name");
        var windowSize = 'width=1024,height=600,scrollbars=yes,menubar=no,toolbar=no';

        window.open( url, windowName, windowSize );

        event.preventDefault();
    });

    $('#close').click( function( event ){
        window.close();
    });

    $('#start-recording').click( function( event ){
        event.preventDefault();

        $.get( $(this).find('a').attr('href'),
            function( data ){
                $('#start-recording').hide();
                $('#stop-recording').show();
            });
    });

    $('#stop-recording').click( function( event ){
        $(this).hide();
        $('#start-recording').show();
    });

})

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
arachni-1.6.1.3 components/plugins/proxy/panel/js/panel.js
arachni-1.6.1.2 components/plugins/proxy/panel/js/panel.js
arachni-1.6.1.1 components/plugins/proxy/panel/js/panel.js
arachni-1.6.1 components/plugins/proxy/panel/js/panel.js
arachni-1.6.0 components/plugins/proxy/panel/js/panel.js
arachni-1.5.1 components/plugins/proxy/panel/js/panel.js
arachni-1.5 components/plugins/proxy/panel/js/panel.js
arachni-1.4 components/plugins/proxy/panel/js/panel.js
arachni-1.3.2 components/plugins/proxy/panel/js/panel.js
arachni-1.3.1 components/plugins/proxy/panel/js/panel.js
arachni-1.3 components/plugins/proxy/panel/js/panel.js
arachni-1.2.1 components/plugins/proxy/panel/js/panel.js
arachni-1.2 components/plugins/proxy/panel/js/panel.js
arachni-1.1 components/plugins/proxy/panel/js/panel.js
arachni-1.0.6 components/plugins/proxy/panel/js/panel.js
arachni-1.0.5 components/plugins/proxy/panel/js/panel.js
arachni-1.0.4 components/plugins/proxy/panel/js/panel.js
arachni-1.0.3 components/plugins/proxy/panel/js/panel.js
arachni-1.0.2 components/plugins/proxy/panel/js/panel.js
arachni-1.0.1 components/plugins/proxy/panel/js/panel.js