Override default options in plugin metaboxes

as example of js code that will run on every new post page

    function admin_footer_se_119285(){
        ?>
            jQuery(window).ready(function(){
                if (jQuery('#metabox-id-div').length == 1){
                    // put your code
                }
            })

        <?php
    }
?>

Take a look to usefull reference to admin_footer-(plugin_page) action hook