HTTP/1.0 200 Ok Server: httpd/2.0 x-frame-options: SAMEORIGIN x-xss-protection: 1; mode=block Date: Mon, 15 Sep 2025 13:14:51 GMT Cache-Control: no-cache Pragma: no-cache Expires: 0 Content-Type: text/javascript Connection: close function confirm_asus(content){ /* default config: content = { title: "Logout Confirm", ribbon: "beta css1", ribbon_wrapper: "beta css2 ", contentA: "#JS_logout#", contentB: "#sub_title#", contentC: "#note to user before click button#" left_button: "Cancel", left_button_callback: function(){}, left_button_args: {}, right_button: "Yes", right_button_callback: function(){}, right_button_args: {}, note: "", iframe: "", margin: "", note_display_flag: 0:stable only, 1:beta only } */ var code = ""; var release_note_code = ""; code += '
'; if( content.ribbon != undefined ) code += '
BETA
'; code += '
' + content.contentA +'
'; if(content.iframe.search("get_release_note") >= 0){ var webs_state_info_version = webs_state_info.splice(3,0,".").splice(2,0,".").splice(1,0,"."); var webs_state_info_version_beta = webs_state_info_beta.splice(3,0,".").splice(2,0,".").splice(1,0,"."); if(content.note_display_flag==0){ release_note_code += '
'; release_note_code += ''; release_note_code += '
'; } else if(content.note_display_flag==1){ release_note_code += '
'; release_note_code += ''; release_note_code += '
'; } code += release_note_code; code += '
' + content.contentC +'
'; } code += '
'; if(content.left_button) code += '
' + content.left_button + '
'; //confirm_button confirm_button_left if(content.right_button) code += '
' + content.right_button + '
'; //confirm_button confirm_button_right code += '
'; code += '
'; $('body').append(code); $('.confirm_button_gen_long_left').bind("click", function(){return content.left_button_callback.call(content.left_button_args)}); $('.confirm_button_gen_long_right').bind("click", function(){return content.right_button_callback.call(content.right_button_args)}); } function confirm_cancel(){ $(".confirm_block").remove(); }