Die Codekopie lautet wie folgt:
var www_jb51_net = function (obj, url, title) {
var e = window.event || argumente.callee.caller.Argumente [0];
var b = {
Ie: /msie/.test(window.navigator.useragent) &&! Window.opera
, Ff: /firefox/.test(window.navigator.useragent)
, Op: !! window.opera
};
obj.onmousedown = null;
if (b.ie) {
obj.attachEvent ("onmouseUp", function () {
versuchen {
window.external.addfavorite (URL, Titel);
window.event.returnValue = false;
} catch (exp) {}
});
} anders {
if (b.ff || obj.nodename.tolowerCase () == "a") {
obj.setattribute ("rel", "Seitenleiste"), obj.title = title, obj.href = url;
} else if (B.OP) {
var a = document.createelement ("a");
A.rel = "SideBar", A.Title = Titel, a.href = url;
obj.parentnode.insertbefore (a, obj);
A.Appendchild (obj);
a = null;
}
}
};
<a href = "JavaScript: void (0); return false;" OnmouseDown = "www_jb51_net (this, '//www.vevb.com', 'Wulin.com ist eine professionelle Website für Website -Konstruktionsressourcen und Skriptprogramme in China')"> Sammlung von Wulin.com </a>