Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Set Safari's home page via WiLMa and AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set Safari's home page via WiLMa and AppleScript
Authored by: DragonMac on Mar 09, '07 10:08:19PM
Anyone know a way to make this work in HTML ? Is there a way to use a Javascript test for Safari and if you click the link it will set Safari home page. See the "[if IE]" can it be made like "[if Safari]" and then exacute script code that will work only for Safari users? IE code below

<!--[if IE]>
<a class="chlnk" style="cursor:hand;font-weight:bold;color:#004080;font-family:Verdana" HREF onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.mydomain.com/');">Click here to make MyDomain your default homepage!</a>
<![endif]-->

---
Can't wait for Tiger ;-)>

[ Reply to This | # ]