'),$("#Imgs_Ubb").val("[img]"+i+"[/img]"),$("#Imgs_markdown").val("![]("+i+")"),$("#images").html(e),$("#imgLoading").attr("src","https://ww2.sinaimg.cn/large/005BYqpggy1fxbbgt35opj305k05k3yh.jpg"),$("#imgurl").show(),$("#progress").hide()}else $("#progress").hide(),$("#imgLoading").attr("src","https://ww2.sinaimg.cn/large/005BYqpggy1fxbbey7nfuj305k05k3yg.jpg"),parent.alert(a.msg)}),!1}function onprogress(a){var e=a.loaded,i=a.total,t=Math.floor(100*e/i);$("#pg").val(t)}function oCopy(a){a.select(),document.execCommand("Copy"),browserRedirect()&&alert("设备类型为手机,有一定几率复制失败!请查看剪切板是否成功复制")}function browserRedirect(){var a=navigator.userAgent.toLowerCase(),e="ipad"==a.match(/ipad/i),i="iphone os"==a.match(/iphone os/i),t="midp"==a.match(/midp/i),r="rv:1.2.3.4"==a.match(/rv:1.2.3.4/i),s="web"==a.match(/ucweb/i),n="windows ce"==a.match(/windows ce/i),o="windows mobile"==a.match(/windows mobile/i),c="android"==a.match(/android/i);if(e||i||t||r||s||n||o||c)return 1}$(document).ready(function(){$("#imgLoading").click(function(){$("#imgContent").toggle()})})