@@Linuchs
Du gehörst der Generation copy and paste an? Kopierst aber von deinen Urahnen?
if (window.XMLHttpRequest) { requestName = new XMLHttpRequest(); // Mozilla, Safari, Opera
Chrome gab’s damals wohl noch nicht. Dafür aber:
} else if (window.ActiveXObject) { try { requestName = new ActiveXObject('Msxml2.XMLHTTP'); // IE 5 } catch (e) { try { requestName = new ActiveXObject('Microsoft.XMLHTTP'); // IE 6 } catch (e) {} } }
Meinst du nicht auch, es wäre an der Zeit, den else
-Zweig auf den Müllhaufen der Geschichte zu werfen?
LLAP 🖖
--
“You might believe there are benefits for the developer, but first of all, you should put those behind the interest of the user.” —Stefan Tilkov
Selfcode:
“You might believe there are benefits for the developer, but first of all, you should put those behind the interest of the user.” —Stefan Tilkov
Selfcode:
sh:) fo:} ch:? rl:) br:> n4:& va:| de:> zu:} fl:{ ss:| ls:# js:|