cancel
Showing results for 
Search instead for 
Did you mean: 

The most expensive Javascript. Ever!

Moderator
Moderator
Posts: 18,825
Thanks: 2,003
Fixes: 257
Registered: ‎11-01-2008

The most expensive Javascript. Ever!


4 lines of code cost a company a lot of sales...

if (is.opera)
{
window.location.href="config/error.htm";
}

Oooops

Customer / Moderator / If it helped click the thumb / If it fixed it click 'This fixed my problem'

1 REPLY
Highlighted
Community Veteran
Posts: 3,486
Registered: ‎02-10-2008

Re: The most expensive Javascript. Ever!

Just as well it wasn't "is.firefox" - or is it "is.mozilla"