The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Write Users Homepage To Page

Hi, is there any way to write the users homepage (In Internet Explorer) to the page? I know you can use window.location="about:home" to redirect them there, but how do you get what page is actually their home page?

I don't know if there's a function call or property that can be used, but I figured out a way of doing it.
It requires you to have frames on a page.

2 frames are required, one to load the homepage & other to check it. Using about:home, you load the homepage of the user in a frame. In 2nd frame, you get the location of the 1st frame in a variable & do whatever you want.

Is there anyone that can help?? If you look at the source of google, you see that it checks if the users homepage is google, and if not, say 'wanna add this as your hp?' (different wording). How can I get it to write the page? I have tried everything! Someone please help!

This is impossible due to browser security restrictions which exist precisely to stop you from doing what you are trying to do. A user's homepage is their own private business, and should not be discoverable by other sites. The "permission denied" error you are getting is the browser telling you that you are trying to do something that is not permitted.