A cópia do código é a seguinte:
var www_jb51_net = function (obj, url, title) {
var e = window.event || argumentos.callee.caller.argudents [0];
var b = {
Ou seja: /msie/.test(window.navigator.useragent) &&! Window.opera
, Ff: /firefox/.test(window.navigator.useragent)
, Op: !! window.opera
};
obj.onmousedown = nulo;
if (b.ie) {
obj.attachevent ("onmouseup", function () {
tentar {
window.external.addfavorite (URL, título);
window.Event.ReturnValue = false;
} catch (exp) {}
});
} outro {
if (b.ff || obj.nodename.tolowerCase () == "A") {
obj.setattribute ("rel", "barra lateral"), obj.title = title, obj.href = url;
} else if (b.op) {
var a = document.createElement ("a");
a.rel = "barra lateral", a.title = título, a.href = url;
obj.parentnode.insertBe antes (a, obj);
A.AppendChild (OBJ);
a = nulo;
}
}
};
<a href = "javascript: void (0); retornar false;" onmousedown = "www_jb51_net (this, '//www.vevb.com', 'wulin.com é um site profissional para recursos de construção de sites e programação de scripts Aprendizando na China')> Coleção de wulin.com </a>