即时修改其他人编写的脚本,我对所有脚本进行了一些修改,但是这个区域给我一个问题就在这里: -
好吧我删除了{(catch.e)}代码和相关编码,
缺少)行中的括号错误... Upgrade_Enhance:function(){
Upgrade_Enhance :function (){
var t = Tabs.Throne;
try {
var m = '<DIV id=pbTowrtDivF class=pbStat>AUTOMATED UPGRADE/ENHANCE/REPAIR FUNCTION</div><TABLE id=pbbarbingfunctions width=100% height=0% class=pbTab><TR align="center">';
if (ThroneOptions.Active == false) {
m += '<TD><INPUT id=Enable type=submit value="Queue = OFF"></td>';
} else {
m += '<TD><INPUT id=Enable type=submit value="Queue = ON"></td>';
}
m += '<TD><INPUT id=ShowHistory type=submit value="History"></td>';
m+= '</table><DIV id=pbTowrtDivF class=pbStat>ADD UPGRADE OR ENHANCE TO QUEUE</div><TABLE class=ptTab><br/>';
m+='<TR><TD>Throne items:</td><TD><SELECT id=ThroneItems type=list></select></td>';
m+='<TD><INPUT id=addEnhance type=submit value="Enhance"></td>';
m+='<TD><INPUT id=addUpgrade type=submit value="Upgrade"></td>';
m+='<TD><DIV id=ShowHoover></div></td>';
m+='</tr></table><br/>';
真的很感激帮助:)