CKeditor&Ckfinder是款好用的ajax文档管理器

破解CKfinder讨厌的消息


最近在用asp.net编写后台时,需要用到FCKeditor,没想到连到官网发现已经大改版了,就下载新版的CKeditor与Ckfinder来玩玩,还挺不赖的,不过CKfinder会有个讨厌的消息"This is the demo version of CKFinder. Click here to visit our web site",原来CKfinder要付费的,后来研究一下,这应该是JS的写法,跟网页上DIV的开关一定有关系,果然找到破解的答案了,如下

if ( (1==(dK.indexOf(ab.bW.substr(1,1)) % 5)&&window.top[qC+'143141x74x69157x6E'][qF+'163x74'].toLowerCase()!=ab.eo) || ab.bW.substr(3,1)!=dK.substr(((dK.indexOf(ab.bW.substr(0,1))+dK.indexOf(ab.bW.substr(2,1)))*9) % (dK.length-1),1) ) { /* en.call(window,qo);*/ }; 

把上面红色的字注解掉就好了~而上面这段js存在于core数据夹下的js数据夹(ckfinder/core/js)下有两个文件,分别是ckfinder_gecko.js与ckfinder_ie.js,找出来把上面那段红字注解掉就不会再出现讨厌的消息了~

原文:大专栏  CKeditor&Ckfinder是款好用的ajax文档管理器


猜你喜欢

转载自www.cnblogs.com/chinatrump/p/11491060.html