Page 1 of 1

Home Page Link

PostPosted: Sat Nov 29, 2008 3:51 pm
by warrenta

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>