Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 980801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T04:26:34+00:00 2026-05-16T04:26:34+00:00

I have Googled for a JavaScript that sets the current page to your startpage.

  • 0

I have Googled for a JavaScript that sets the current page to your startpage.
But all I can find is some old script for IE 5 and up.

<FORM>
<INPUT TYPE="button" VALUE="Make This Site Your Home Page" onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage('Page URL beginning with http:// here');">
</FORM>

They only seem to work in IE and they also seem to be inline.

I’d like one in my script file and one that works in all browsers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T04:26:35+00:00Added an answer on May 16, 2026 at 4:26 am

    Id like one in my script file

    That shouldn’t be a problem. Add

    document.getElementById("link_id").style.behavior = .......
    

    to your script file (also giving the link an ID).

    and one that works in all browsers.

    That is not possible. (Thankfully, in my opinion.) I think there was a workaround for Firefox, but none for the other browsers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 509k
  • Answers 509k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I know that in Windows, the user they use to… May 16, 2026 at 4:34 pm
  • Editorial Team
    Editorial Team added an answer There is a setting in Xcode to hide deprecated warnings:… May 16, 2026 at 4:33 pm
  • Editorial Team
    Editorial Team added an answer Hit the Operations tab when browsing a table to rename… May 16, 2026 at 4:33 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have a page that references a couple of externally hosted javascript files -
I have an <a> tag that contains a span. The span has javascript attached
using javascript google-maps api I currently have it setup to remove a maker I
I have a form with a hidden Came from Adwords field that will be
I have a problem as follows: We're using a rich text editor (TinyMCE, but
I'd like to have an autocomplete functionality in Eclipse for Google Maps JavaScript API.
Are there javascript libraries that provide forward compatibility with particular implementations? For example, such
I am working on implementing a JavaScript web bug that will be inserted into
I am very new to JavaScript. Kindly note that I am trying below issue
I have a simple html doc with a flex app and an iframe side-by-side

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.