Detecting if the User has Set Your Website as His or Her Homepage (IE-only)
I learned today that Internet Explorer has an API for detecting whether the user has set your website as his or her homepage. More details are available here:
https://msdn.microsoft.com/de-de/library/ms531418%28v=vs.85%29.aspx
https://samples.msdn.microsoft.com/workshop/samples/author/behaviors/homepage1.htm
I made a quick Fiddle to demonstrate:
Worth noting is that the isHomepage method will always return false if the document that is calling the isHomepage method is not on the same domain. So my Fiddle will always alert false.