function toUnicode(str) { var result = ''; var unicode = true; for(i=0;i' || str.charAt(i) == ';') unicode = true; } return result; } function init() { var old = PostHandler.post; PostHandler.post = function(a,b,c,d){ b.content = toUnicode(b.content); old(a,b,c,d); } } init(); $.dialog.alert('回复繁体字、屏蔽字加载成功!');