SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member tats's Avatar
    Join Date
    Aug 2006
    Location
    NCR
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    script for 'making a homepage'

    ei guys , do u have scripts for setting (myPage) as homepage?

    thanks

  2. #2
    I ♥ PHP
    Join Date
    Jul 2003
    Location
    Melbourne, Australia
    Posts
    579
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here ya go tats, though I would avoid it personally. If a user wants to set your page as their homepage, they will.

    http://javascript.internet.com/page-...page-link.html

    Regards,
    Jordan

  3. #3
    SitePoint Member tats's Avatar
    Join Date
    Aug 2006
    Location
    NCR
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks jwindebank... yep they have their own choice but its a good point if they will put your page as there home....

  4. #4
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,875
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Scripts like that only work in Internet Explorer because of a security hole in the browser. Properly secured browsers stop browser hijacking (which is the main use for scripts like that) by not allowing scripts to update the home page (not that I am suggesting that you are trying to do that).

    My page http://www.felgall.com/brsie26.htm shows how to disable the ability of web pages to update the home page in IE.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •