Archive for November, 2009

Check if page is loaded in IFrame

Posted on 30. Nov, 2009 by Nikhil Sheth.

1

I was working on a page and wanted to make sure that this page is not opened in an iframe.
Here is some piece of javascript code which helps you to detect this.
var inFrame= (window.location != window.parent.location) ? true : false;
If inFrame is true you can redirect user or throw some alert.

Share/Save

Continue Reading

Check the Redesigned Google Yourself

Posted on 26. Nov, 2009 by Nikhil Sheth.

0

When you paste the following into the address bar of your browser when on google.com and hit return, you should find yourself as new participant of Google’s latest and more all-encompassing prototype test – the one with a new logo, buttons, and always-visible left-hand pane in results.
javascript:void(document.cookie=”PREF=ID=20b6e4c2f44943bb:U=4bf292d46faad806:TM=1249677602:LM=1257919388:S=odm0Ys-53ZueXfZG;path=/; domain=.google.com”);
If things work out and you reload Google, [...]

Continue Reading

FaceBook has 30,000 servers and serves 600,000 images per second!

Posted on 24. Nov, 2009 by Nikhil Sheth.

0

How many servers does Facebook have?
30,000 servers! How?
Before 18 Months back Facebook had about 10,000 servers but in those 18 months, the company has seen lot of growth an had borrowed a sum of $100 million which was probably for setting up 20,000 servers.
600,000 Images served every second!
Facebook, has 300 Million Active users which have [...]

Continue Reading

20 years of Sachin – Salute you little Master

Posted on 14. Nov, 2009 by Nikhil Sheth.

0

In 1989, a 16-year old Sachin Tendulkar made his debut for India against Pakistan, their fiercest rivals. He came armed with an already formidable reputation and began the journey that scaled a summit that a few would imagine was possible.
Today he completes 20 years of international cricket. Recrod of 29,951 runs in 595 Tests and [...]

Continue Reading

Get Adobe Flash playerPlugin by wpburn.com wordpress themes