Home Page Link

Discuss any hints or tips regarding Google Chrome. The community appreciates any type of suggestions.

Home Page Link

Postby warrenta on Sat Nov 29, 2008 3:51 pm

How do I get this to work for chrome? I can't seem to find a way to create a link to the defined chrome home page that can be accessed from a script like this rather than clicking the Browser Home Button.... :
Code: Select all
<script language=javascript>
<!--
function takeMehome() {
   if(document.layers) {parent.window.home()
     }else{
      if(document.all){parent.window.location="about:home"
       }else{
         if(parent.window.home){parent.window.home()
         }else{
         alert("To EXIT Please click Your Browser Home Button!")
     }
    }
   } 
}
//-->
</script>
warrenta
 
Posts: 1
Joined: Sat Nov 29, 2008 3:44 pm

Return to Google Chrome Hints & Tips

Who is online

Users browsing this forum: No registered users and 1 guest

cron