三个函数分别是:
判断是否为首页
导航到首页
设为首页

解决方案 »

  1.   

    The isHomePage method returns false if the argument and a user's home page are the same, but the document calling the method is on a different domain than the user's home page.Return ValueBoolean. Returns one of the following values:true The client's home page is the same as the provided argument. 
    false The client's home page is different than the provided argument.