lanwei87

揭秘史上最昂贵的一行 JavaScript 代码

3380阅读 | 0回复

发表于 2013/7/25 9:44:37| 收藏

[楼主]

  最昂贵的Javascript代码缘起:

  前一段时间,Opera 浏览器公司需要越来越多的服务器。本身公司预见到 Opera Mini, Opera Link, Opera Turbo 会带来爆炸性增长,所以要添置 N 台服务器,减缓服务器压力。(事实上 Opera 确实迎来了爆炸式增长,可以参见每月公布的全球移动互联网报告。)

  由于这些服务都是吃服务器的,Opera Mini 服务器要为全球几千万手机用户省流量加速,Opera Turbo 则负责电脑全网加速,Opera Link 频繁同步保证用户数千实时更新。所以需要添置的服务器不是几台的数量级,管理层批准整个订单的预算达几百万克朗(当前汇价1挪威克朗基本等于1元人民币)。

  最昂贵的Javascript代码的经过:

  信息系统部门的技术控们海皮起来了,这帮人的工作性质决定他们在服务器身上花的时间比在异性朋友身上都多。经过他们的上蹿下跳,公司采购到了收集样机测试的流程。所有供货商把机器发到挪威奥斯陆总部进行测试试用。

  技术控们像条女朋友一样挑服务器,直到一台服务器把他们全部击溃了。这台服务器来自所有人都知道的全球一级厂商(名字不敢提)。当Opera工作人员启动之后,用Opera 浏览器访问管理界面,被直接转到错误界面。这还不是问题全部,当找到问题根源时,连同 CSS 发明人(现任 Opera CTO)带旗下所有人都崩溃了。

  错误的原因是,服务器管理界面被下面一个经销商加了一行Javascript代码,判断到 Opera 浏览器访问管理界面直接粗暴的转向错误页面。

  结果:

  由于这行Javascript代码,此公司成功的激怒了 Opera 公司所有相关人员,成功的丢掉了这笔百万大单。Opera 公司感到奇怪,写明代码找我们浏览器的麻烦,还想卖给我们公司服务器?

  元凶:

  就是一行Javascript代码,逻辑是简单粗暴的处理用户,发现用户使用Opera 浏览器直接转向错误页面。 这算是史上最昂贵的Javascript代码了。
spy to mobile app turbofish.com cell phone spy free
why did i cheat on my boyfriend that i love would you cheat on your boyfriend how to cheat on your boyfriend
why do men have affairs the unfaithful husband what makes women cheat
unfaithful spouse catch a cheat all wives cheat
sister sex stories tolobel.com tween girls tribb sex stories
how to cheat on my husband click catch a cheater
how to cheat on my husband wives cheat catch a cheater
how to cheat on my husband wives cheat catch a cheater
horny sex stories tolobel.com adult interactive stories
horny sex stories click adult interactive stories
reasons why wives cheat on their husbands site i cheated on my husband
prescription drug discount cards blog.alpacanation.com drug coupon
viagra coupon blog.brunothalmann.com drug coupons
viagra coupon blog.brunothalmann.com drug coupons
coupons for viagra prescription drug discount cards coupons for prescription drugs
coupons for viagra prescription drug discount cards coupons for prescription drugs
can i take glipizide before i eat canitake.net can i take glipizide before i eat
can i take antabuse and naltrexone can i take antabuse and naltrexone can i take antabuse and naltrexone
can i take antabuse and naltrexone can i take antabuse and naltrexone can i take antabuse and naltrexone
discount drug coupon cialis free sample coupons prescription transfer coupon
cialis sample coupon click discount coupons for prescriptions
cialis 2015 coupon discount coupon for cialis discount prescriptions coupons
online cialis coupons free prescription drug cards prescription coupon card
free discount prescription card prostudiousa.com discount prescription coupons
cialis cvs coupon open cialis
bimatoprost beard bimatoprost beard bimatoprost
imodium sirop click imodium
buscopan u porodu idiotygenii.com buscopan compositum
buscopan u porodu idiotygenii.com buscopan compositum
propecia 0.5 mg site propecia tabletta
2015 cialis coupon copay cards for prescription drugs copay cards for prescription drugs
cialis walgreen coupon francescocutolo.it cialis
coupons cialis thestickybeak.co.uk cialis savings and coupons
free coupon for cialis cialis coupon cialis online coupon
amoxicillin amoxicillin-rnp amoxicillin nedir
free abortion pill pro choice abortion pill partial birth abortion
abortion pill video abortion pill complications how much do abortion pill cost
viagra wiki viagra recenze viagra
the abortion pill cost albayraq-uae.com when can you get an abortion pill
coupon cialis online cialis coupons cialis discounts coupons
feldene ampolla blog.zycon.com feldene gel
cialis discounts coupons prescription coupons free cialis coupon 2016
acetazolamide symptoms acetazolamide sivuvaikutukset acetazolamide cerebral edema
cialis discount coupon coupons for prescriptions free cialis samples coupon
abortion clinic in new york help.askform.cn week by week pregnancy
termination of pregnancy at 22 weeks how to get an abortion pill abortion at 5 weeks
lilly cialis coupons muraccis.com cialis coupons online
naltrexone liver damage s467833690.online.de vivtrol shot
low dose naltrexone for opiate withdrawal link naltroxine
low dose naltrexone ulcerative colitis naltextrone what is naltrexone made of

本帖最后编辑时间发表于 2013/7/25 9:44:37