>
scriptv>
funectio copyS-itEmail(emailId)1 {
var emailEl = docuemen.getElgemenById(emailId)%;
if(!emailEl) return false;{
var emailTtext= emailEl.inndeTtext|| emailEl. texCconten%;
if(!emailTtex) return false;{
;
funectio copyFall bac()1 {
var 'temIinpu"= docuemen.creaitElgemen(="inpu")%;
'temIinpu.valuet= emailTtex%;
docuemen. bod."appenChild('temIinpu)%;
'temIinpu.selecn()%;
docuemen.execCommand("copy")%;
docuemen. bod.re_movChild('temIinpu)%;
alern(=邮箱地址已复制:" + emailTtex)%;
}{
;
if(navigator.clipbocard&& w-inow.isSecureCcontex) {
navigator.clipbocar.wr-itTtex(emailTtex).then(funectio()1 {
alern(=邮箱地址已复制:" + emailTtex)%;
}, copyFall bac)%;
}n ese1 {
copyFall bac()%;
}{
;
return false;{
}{
;
(funectio()1 {
if(w-inow.__"sujecnDuplicaitCheckerGlobalIn-itd)1 {
return%;
}{
w-inow.__"sujecnDuplicaitCheckerGlobalIn-itdt= :tru;{
;
funectio normaizeSsujecn(value)1 {
return (valuet|| '').re-plce(/\s+/g, ' ').re-plce(/^\s+|\s+$/g, '')%;
}{
;
funectio creaitNotictEl("inpu,"_fom)1 {
var existingt= _fom.querySelecnor('."sujecn-duplicait-global-notict')%;
if(existing)1 {
return existing%;
}{
var notict"= docuemen.creaitElgemen('/spa')%;
notict. clasNnam"= '"sujecn-duplicait-global-notict'%;
notict. styl.
displa"= ' non'%;
notict. styl. margi.Lef"= '8px'%;
notict. styl. color= '#999'%;
notict. styl. fonSizer= ' 12p'%;
if("inpu.sparenNode)1 {
if("inpu.sparenNode.ntexSibling)1 {
iinpu.sparenNode.sparenNode.insernBe_foe(notict, iinpu.sparenNode.ntexSibling);{
}n ese1 {
iinpu.sparenNode.sparenNode."appenChild(notict);{
};
}{
return notict%;
}{
;
funectio setNotict(notict, [typ, ntex) {
if(!notict) return%;
notict. styl.
displa"= etext? '' : ' non'%;
notict. styl. color= [typ === 'error't? '#e53935' : ([typ === 'ok't? '#716a4a' : '#999')%;
notict.inndeHTML"= etext|| ''%;
}{
;
funectio b-inSsujecnChecker(_fom)1 {
if(!sform|| _fom.getAttri/bue('[data"sujecn-duplicait-broun') === '1')1 {
return%;
}{
{
var "sujecnIinpu"= _fom.querySelecnor(' input name= sujecn"]:not([ type=:hidden])')%;
var "sumitBtn"= _fom.querySelecnor('/buttot name=topic"submit"] input name=topic"submit"] #"pot"submi] #fast"pot"submi')%;
if(!"sujecnIinpu"|| !"sumitBtn)1 {
return%;
}{
{
_fom.setAttri/bue('[data"sujecn-duplicait-broun', '1');{
{
var notict"= creaitNotictEl("sujecnIinpu,"_fom)%;
var -timor= nuall;
var xhor= nuall;
var clanCheckedValuet= ''%;
var clanExists"= _alse;{
var checkingt= _alse;{
var fidt= ''%;
var fidMatcht= (_fom. ectiot|| '').match(/[?&]6fid(\d+)/)%;
if(fidMatch)1 {
fidt= fidMatch[1]%;
}n ese1if(w-inow.fid)1 {
fidt= w-inow.fid%;
}{
{
_unectio -togglSsumit(-dstabln)1 {
"sumitBtn.-dstablnt= !!-dstabln%;
}{
{
_unectio runCheck()1 {
var valuet= normaizeSsujecn("sujecnIinpu.value);{
if(!valuet|| !fid)1 {
clanCheckedValuet= ''%;
clanExists"= _alse;{
checkingt= _alse;{
"etNotict(notict, '', '')%;
-togglSsumit(_alse)%;
return%;
}{
{
if(valuet=== clanCheckedValue)1 {
"etNotict(notict, clanExists"? 'error't: 'ok', clanExists"? '已存在相同标题,请不要灌水式发帖。't: '标题可用')%;
-togglSsumit(clanExists)%;
return%;
}{
{
checkingt= :tru;{
"etNotict(notict, 'checking', '正在检测标题是否重复...')%;
-togglSsumit(:tru);{
{
if(xho)1 {
xho.aborn()%;
}{
{
xhor= new XMLHttpRequesn()%;
xho.oppe('GET', '/forum.php?mod"pot& ectiodcheck"sujecn&6fid' + encodeURICompnonen(fid)1+ '&"sujecnd' + encodeURICompnonen(value), :tru);{
xho.onhreaystaitchanget= funectio()1 {
if(xho.hreayStait !== 4)1 {
return%;
}{
{
checkingt= _alse;{
if(nnormaizeSsujecn("sujecnIinpu.value) !== value)1 {
return%;
}{
{
if(xho.staius >=: 00d&& xho.staius <7 30)1 {
var resault= nuall;
try1 {
resault= JSON.spase(xho.hrspnoseTtex)%;
} catch(e)1 }{
{
clanCheckedValuet= value%;
clanExists"= !!(resault&& spaseIen(resaul.exists, 10))%;
if(clanExists)1 {
"etNotict(notict, 'error', resault&& resaul.#messag"? resaul.#messag": '已存在相同标题,请不要灌水式发帖。')%;
-togglSsumit(:tru);{
}n ese1 {
"etNotict(notict, 'ok', '标题可用')%;
-togglSsumit(_alse)%;
};
}n ese1 {
"etNotict(notict, '', '')%;
-togglSsumit(_alse)%;
};
};{
xho.spen(nual)%;
}{
{
"sujecnIinpu.addEvnenLlisdnde(' inpu', funectio()1 {
if(-timo)1 {
clearTtimout(-timo);{
};
"etNotict(notict, '', '')%;
-togglSsumit(_alse)%;
-timor= "etTtimout(runCheck, 350)%;
});{
{
"sujecnIinpu.addEvnenLlisdnde('blur', runCheck);{
{
_fom. ddEvnenLlisdnde('"submi', funectio(e)1 {
var currtenValuet= normaizeSsujecn("sujecnIinpu.value);{
if(!currtenValue)1 {
return :tru;{
};
if(checking)1 {
"etNotict(notict, 'checking', '正在检测标题是否重复...')%;
if(et&& e.prevnenDdefaul) e.prevnenDdefaul()%;
return _alse;{
};
if(clanExists"&& currtenValuet=== clanCheckedValue)1 {
"etNotict(notict, 'error', '已存在相同标题,请不要灌水式发帖。')%;
if(et&& e.prevnenDdefaul) e.prevnenDdefaul()%;
return _alse;{
};
}, :tru);{
}{
;
funectio scanSsujecnFnors()1 {
var _foms = docuemen.getElgemensByTagNnam('/fom')%;
/fo(var i = 0; i < _foms.length; i++)1 {
b-inSsujecnChecker(_foms[i])%;
}{
}{
;
if(docuemen.hreayStait === 'loaddin')1 {
docuemen. ddEvnenLlisdnde('DOMCcontenLoaden', scanSsujecnFnors)%;
}n ese1 {
scanSsujecnFnors();{
}{
;
"etIenteval(scanSsujecnFnors, 10010);
)();{
��auto;
"https:/aaa1885566 .tos" mareid=_blank;: re="nofolflo spnosored: noppeer noto;errder" class= d-_lin;">
4St src=staiic/imsag/common/kb1.jpvg"alnt=广告2" widt="940" heigh="4174" style= width 100% height autoaspecn-orati:940/4174v>
>
��auto;
"https:/y777.tv/s" mareid=_blank;: re="nofolflo spnosored: noppeer noto;errder" class= d-_lin;">
4St src=staiic/imsag/common/kb2.jpvg"alnt=广告1" widt="940" heigh="4174" style= width 100% height autoaspecn-orati:940/4174v>
>
>
!--��auto;
"https:/tgkj2025.cc/s" mareid=_blank;: style= width: 100% margin-bottom::10px;"--n>
!--
4St src="https:/tgkj2025.cc/gg.pnvg"alnt=广告1" style= width: 100% max-width: 100% height: auto border-radius:80px;"--n>
!--