Add My Site in Window Startup

Discussion in 'JavaScript' started by togy_varghese, Feb 8, 2007.

  1. #1
    Hi,
    I have a code for Add to Favourite my Site.

    ====================================================
    <script type="text/javascript">
    function bookmarksite()
    {
    if (document.all)
    window.external.AddFavorite(location.href, document.title);
    else if (window.sidebar)
    window.sidebar.addPanel(document.title, location.href, "")
    }
    </script>
    <a href="javascript:bookmarksite()"> Add to favorites</a>
    =====================================================

    Its Working fine in IE and Firefow. Now I want to add my site in Windows start up through javascript.Any body have the code for that? It is possible?
     
    togy_varghese, Feb 8, 2007 IP
  2. giraph

    giraph Guest

    Messages:
    484
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    0
    #2
    No it's not possible to add your site to the favorites of firefox, or to add your site to Windows start up. What you did with firefox is added a panel, which means your page will open in a sidebar, and look like crap most likely.
     
    giraph, Feb 9, 2007 IP
  3. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #3
    That way it's working for me on FireFox. It's opening a dialog to choose the bookmark folder where to put the favorite.
    After choosing a folder I can access that favorite link there. :)
     
    ajsa52, Feb 9, 2007 IP
  4. giraph

    giraph Guest

    Messages:
    484
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes but if you try to open that link in firefox, it will open in the sidebar, which is pretty annoying.
     
    giraph, Feb 9, 2007 IP