芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media/plg_user_token/js/token-es5.min.js
!function(){"use strict";!function(e,n){var t=function(){e.getElementById("token-copy").addEventListener("click",(function(t){var r=t.currentTarget.previousElementSibling;navigator.clipboard?navigator.clipboard.writeText(r.value).then((function(){n.renderMessages({message:[n.Text._("PLG_USER_TOKEN_COPY_SUCCESS")]})}),(function(){n.renderMessages({error:[n.Text._("PLG_USER_TOKEN_COPY_FAIL")]})})):function(t){t.focus(),t.select();try{e.execCommand("copy")?n.renderMessages({message:[n.Text._("PLG_USER_TOKEN_COPY_SUCCESS")]}):n.renderMessages({error:[n.Text._("PLG_USER_TOKEN_COPY_FAIL")]})}catch(e){n.renderMessages({error:[e]})}}(r)}))};e.addEventListener("DOMContentLoaded",(function n(){t(),e.removeEventListener("DOMContentLoaded",n)}))}(document,Joomla)}();