Results 1 to 14 of 14

Thread: automatic homepage

  1. #1
    Join Date
    Dec 2002
    Location
    Serdang
    Posts
    22
    Rep Power
    0

    automatic homepage

    does anyone know how to code a javascript that can put url website to a visitor browser start up page?

  2. #2
    Join Date
    Jul 2001
    Location
    Johor Bahru
    Posts
    47
    Rep Power
    0

    Hi there!

    You can type this code.

    <a style="cursor: hand" class="chlnk" HREF onClick="this.style.behavior='url(#default#homepag e)';this.setHomePage('http://www.limdesign.com/yuchee');">Save
    as Homepage</a>
    <p align="center"><b>::: Welcome to <img src="http://www.limdesign.com/yuchee/images/y/orange_transparent.gif">uchee Homepage :::</b><br>
    - A Guide to Great Site -<br><a href="http://www.limdesign.com/yuchee">http://www.limdesign.com/yuchee</a>
    </p>

  3. #3
    Join Date
    Dec 2002
    Location
    Serdang
    Posts
    22
    Rep Power
    0
    i don't want it to be click ... it just when a visitor visit my page ... it will automatically put my url in visitor browser as a homepage without any prompt or any click ... the code for the click to as a homepage i know it already ... it have everywhere on the net now ... but you can't find a code that I'm seeking now ... i have some on google ... but it require me to pay ... example

    can be find here

    http://www.internet-marketing.me.uk/...ipts.htm~space

  4. #4
    Join Date
    Jul 2001
    Location
    Johor Bahru
    Posts
    47
    Rep Power
    0

    Hi!

    I see, i don't have the code you want. So maybe you have to pay fo it :-)

    Good DAy!
    <p align="center"><b>::: Welcome to <img src="http://www.limdesign.com/yuchee/images/y/orange_transparent.gif">uchee Homepage :::</b><br>
    - A Guide to Great Site -<br><a href="http://www.limdesign.com/yuchee">http://www.limdesign.com/yuchee</a>
    </p>

  5. #5
    Join Date
    May 2003
    Location
    Earth
    Posts
    29
    Rep Power
    0

    Unhappy just wanna comment

    a'kum or hello. i don't know how to do that but just wanna tell ya that maybe somebody doesn't like their default homepage gets changed, like me. i hate it everytime i surfed to site which did that. you might find it quite annoying for some people. just stating my point of view. bye.

  6. #6
    Join Date
    Oct 2001
    Location
    Melbourne, AU
    Posts
    456
    Rep Power
    231
    You could try what yuchee said but put it in 'onLoad=' in the 'body' tag.

    But, in my opinion, people won't like this very much... I myself get very annoyed with sites that change my default homepage... Just an opinion...

  7. #7
    Join Date
    Mar 2003
    Location
    Kamunting, Perak
    Posts
    640
    Rep Power
    217
    me too!

  8. #8
    Join Date
    Jun 2001
    Location
    BTHO
    Posts
    775
    Rep Power
    240

  9. #9
    Join Date
    Jul 2001
    Location
    KL, Malaysia
    Posts
    277
    Rep Power
    229
    By putting the code in onload, will it work?

  10. #10
    Join Date
    Oct 2001
    Location
    Melbourne, AU
    Posts
    456
    Rep Power
    231
    Originally posted by kpyew
    By putting the code in onload, will it work?
    Hi, I just tried the onLoad thing like I said earlier and it doesn't works... however I do think that if you were to do something like this, it would involve 'body onLoad=' but the script won't be that simple and it will take some trial and error to perfect it...

  11. #11
    Join Date
    Oct 2001
    Location
    Melbourne, AU
    Posts
    456
    Rep Power
    231
    Hello,

    I got it...

    PHP Code:
    <html>
    <
    head>
    <
    script language="JavaScript">
    function 
    MakeHomePage()
    {
       
    document.body.style.behavior='url(#default#homepage)';
       
    document.body.setHomePage(window.location.href);
    }
    </script>
    </head>

    <body onLoad="MakeHomePage()">
    Testing...
    </body>
    </html> 
    You can change 'window.location.href' to whatever page you want. But when you load the page it will still ask you if you want to make it your homepage.

  12. #12
    Join Date
    Jul 2001
    Location
    KL, Malaysia
    Posts
    277
    Rep Power
    229
    sufyan, fantastic. Can make it autoset without asking the user? I doubt haha...

  13. #13
    Join Date
    Jun 2001
    Location
    Mystic Kingdoms
    Posts
    2,749
    Rep Power
    280
    iskk..
    siapalah yang mencipta script nih ha?
    menyusahkan aku saja nak kena tukar balik homepage option tuh.
    tak mesra langsong!

    and mostly site like this.. selalunya site porno aku rasa laa..
    plak tuh sikit punya panjang url dia. pehhh!

    really hate this one aaa

  14. #14
    Join Date
    Jun 2003
    Location
    malaysia
    Posts
    315
    Rep Power
    207
    adfunk....web ko pasal ape?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Download from rapidshare automatic
    By weerapat in forum Webmaster Tools
    Replies: 4
    Last Post: 17-03-2009, 02:02 AM
  2. Homepage Review
    By blueplue in forum Websites Review and Suggestion
    Replies: 10
    Last Post: 04-01-2008, 08:41 AM
  3. Automatic Link Exchange accepts All Ranks
    By bzman in forum Other Webmaster-related Services and Promotion
    Replies: 0
    Last Post: 26-07-2005, 03:14 PM
  4. My Homepage
    By lighching in forum Websites Review and Suggestion
    Replies: 7
    Last Post: 16-03-2005, 08:45 PM
  5. .: MY Homepage :.
    By fadlee in forum Websites Review and Suggestion
    Replies: 9
    Last Post: 27-07-2004, 04:30 PM

Posting Permissions

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

Search Engine Optimization by vBSEO 3.5.0 RC1 PL1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112