过滤 法语助手 划词搜索

frdic.com/dic_resource/frdic_grab.js

原代码如下

 

 

 

frdic.com/dic_resource/frdic_grab.js

原代码如下

 

var dict_is_ie = true;
var dict_host = 'http://www.frdic.com/';
var dict_help = 'http://www.frdic.com/service.aspx';
var dict_partner = '';
var dict_enable = false;
var dict_old_word = '';
var dict_moving = 0;
var dict_onmove = 0;
var dict_onlayer = 0;
var dict_startx = 0;
var dict_starty = 0;
var dict_cx = 0;
var dict_cy = 0;
var dict_x = 0;
var dict_y = 0;
var dict_layer;
var dict_iframe;
/*
 * 描述:跨浏览器的设置 innerHTML 方法
 *       允许插入的 HTML 代码中包含 script 和 style
 * 作者:kenxu 
 * 日期:2006-03-23
 * 参数:
 *    el: 合法的 DOM 树中的节点
 *    htmlCode: 合法的 HTML 代码
 * 经测试的浏览器:ie5+, firefox1.5+, opera8.5+
 */
var setInnerHTML = function (el, htmlCode) {
    var ua = navigator.userAgent.toLowerCase();
    if (ua.indexOf('msie') >= 0 && ua.indexOf('opera') < 0) {
        htmlCode = '
for IE
' + htmlCode; htmlCode = htmlCode.replace(/]*)>/gi, ''); el.innerHTML = htmlCode; el.removeChild(el.firstChild); } else { var el_next = el.nextSibling; var el_parent = el.parentNode; el_parent.removeChild(el); el.innerHTML = htmlCode; if (el_next) { el_parent.insertBefore(el, el_next) } else { el_parent.appendChild(el); } } } /* * 描述:通过重定义 document.write 函数,避免在使用 setInnerHTML 时, * 插入的 HTML 代码中包含 document.write ,导致原页面受到破坏的情况。 */ document.write = function() { var body = document.getElementsByTagName('body')[0]; for (var i = 0; i < arguments.length; i++) { argument = arguments[i]; if (typeof argument == 'string') { var el = body.appendChild(document.createElement('div')); setInnerHTML(el, argument) } } } //--> function dictInit(){ var agt = navigator.userAgent.toLowerCase(); dict_is_ie = (agt.indexOf("msie")!=-1 && document.all); var h = '
Last modified onSunday, 14 October 2012 04:07

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
  • Published in ADbloc
  • Read 3624 times
More in this category: adblock list »

Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
back to top