Apr 17 2012

IE caching for ajax requests

Christoph

Thanks to dac-xp for this code candy

/*
 * random number for the shitty InternetExplorer to f*ck
 * their caching-system. I hope the programmers of the IE
 * caching for ajax requests will die a terrible death.
 */
var requestid = Math.random() * (9999999999-0+1);

Programming language: JavaScript

1 Star2 Stars3 Stars4 Stars5 Stars (2 Bewertungen, Durchschnitt: 5,00 von 5)
Loading...Loading...

Okt 5 2009

Hey IE developers!

Christoph

/*
argh! HOLY SHIT! this crap works only until the 2nd line break. Hey IE developers! no insulting, but did you code IE while you were on drugs?
*/

Source: Direct link to the source code
Software: jQuery plugin: fieldSelection
Programming language: JavaScript

1 Star2 Stars3 Stars4 Stars5 Stars (9 Bewertungen, Durchschnitt: 4,78 von 5)
Loading...Loading...

Apr 20 2009

A stupid child named foo

Christoph

/*
For some stupid reason that i don’t want to know, those alerts are ALWAYS returning the same sh*t under that sh*tty browser (Microsoft Internet Explorer 6), when i’m using element.getAttribute(‘foo’) i want to _GET_ THE F*CKING ‘foo’ _ATTRIBUTE_ of element NOT A STUPID CHILD named ‘foo’.
Thanks again lazy MSIE 6 developers!
*/

Source: Direct link to the source code
Software: Gekko
Programming language: JavaScript

1 Star2 Stars3 Stars4 Stars5 Stars (3 Bewertungen, Durchschnitt: 5,00 von 5)
Loading...Loading...