473,569 Members | 2,522 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

find users default homepage

4 New Member
heya guyzorz, just a quick q, for the life of me i cant find a way to obtain the value of a users browsers default homepage. Ive written a site that provides access to the internet on a certain segment and once a user is logged in i want to forward them to thier own homepage in a new window. i tried window.open(win dow.home()) but to no avail, usually my attampts ended in a script working in IE and not MOZ or vice versa. i have developed a work-around, but i need to identify what the preset homepage is to complete the script - in MOZ. My IE version (im useing browser detection) works fine,
Expand|Select|Wrap|Line Numbers
  1. href="about:home"
and it works when you type about:home into the address bar, but not in MOZ, of course, just to be difficult.
If you have a good way of achieving a new page at the users homepage in IE6,7 and MOZ i'd really like to know, otherwise, *sob* please help*sob*
rgr and thanks
Aug 15 '07 #1
3 2022
acoder
16,027 Recognized Expert Moderator MVP
Welcome to TSDN!

I'm not sure, but does window.home() not work?
Aug 15 '07 #2
svjames
4 New Member
Cheers, glad to be here,
well, yes it does actually work, but no as well. window.home() will correctly sen the browser to its default homepage. what i am trying to do is open a new browser window directed specifically to the users homepage. eg the window.open(win dow.home()) which doesnt work. it opens the browser, yes, but doesnt go to the homepage.
Aug 15 '07 #3
acoder
16,027 Recognized Expert Moderator MVP
In that case, try opening a new window and then calling window.home() on the new window, e.g.
Expand|Select|Wrap|Line Numbers
  1. var newwin = window.open(...);
  2. newwin.home();
Aug 16 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
1366
by: Mike D | last post by:
I have this line of code in my global.asa Application("Active") = Application("Active") + 1 I open alot of new IE windows and I have my homepage set to my intranet that contains the above code. I had the same code in my IIS5 web and I don't remember it counting me each time I came in. I know it did if I would close all IE and open a new...
8
1412
by: Kayda | last post by:
Hello: I had some code that allowed me to expand a paragraph by clicking on a hyperlink and collapse it by clicking on the paragraph. I unfortunately the Javascript function. I still have the code that calls it Here is how the calling paragraph looks: <div id="menu7"><A HREF="" onclick="return ExpandHideContent('menu1','i7',...
11
958
by: JoshuaF | last post by:
hello everyone i am very new to postgresql 7.3.3 and am using it on my mac G4 OS X and i am having some trouble which i hope you can help me out with some answers to my questions: 1.) How can I get a list of users currently logged into the database? Is it possible? 2) I plan on using postgresql for a posting board database, how can I...
9
1983
by: dreamamit2001 | last post by:
Hi, I am new user to ASP.NET2.0? I would like to know can Macintosh users able to access ASP.NET 2.0 site ? I also want to know what are the features of ASP.NET2.0 which are not supported for Mancintosh pcs? what are the workarounds for them? Please guide me if anybody has accessed ASP.NET2.0 from Macintosh Pc.
2
6966
by: pavi | last post by:
Anyone know how to set the Default homepage using javascript without prompting a pop up. Below is the code i used to set default home page. <a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http:// www.xyz.com');">set the homepage</a> The problem with this code is when i click the link it prompts me a
1
2988
by: Sleepwalker | last post by:
Hi, I'm currently in the process of constructing a stripped down version of the company website that will be show to people logging in from a mobile device. When the user logs in to the homepage, he or she is directed to the homepage default.aspx, where they can login. As part of the Page_Load of this page, I added a check if the...
10
9007
by: Eirik Eldorsen | last post by:
How can I 301 redirect www.example.com/default.aspx to www.example.com without using ISAPI filters?
10
10782
Shakss2
by: Shakss2 | last post by:
I have a form, where I can activate the search and replace dialogbox when pressing a button. My problem is that the dialogbox opens with the default that it should search for full match only, and I want it to open with default "a part of field". I did change it to default "A part of the field"? by going to Tools -> Options menu to open...
0
7615
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7677
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7979
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1223
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.