473,396 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Javascript to make a page your home page

Hello,

I'd like to find out if the following can be done.

When someone comes to my site I would like to check to see if their
homepage is set to my site. If it is then nothing is done. If it is
not then I'd like a link to appear that asks if they'd like to set
their home page to my site.

Can this be done? If so can someone post the code to do it?

Thanks,

Sean

http://www.Aquaria.Info
http://www.CleanLiving.com
http://www.DigFishDig.com

Feb 14 '06 #1
5 1859
un******@gmail.com wrote:
When someone comes to my site I would like to check to see if their
homepage is set to my site. If it is then nothing is done. If it is
not then I'd like a link to appear that asks if they'd like to set
their home page to my site.

Can this be done? If so can someone post the code to do it?


Check the source of the Google index page (IE only);
JW
Feb 14 '06 #2
Zif
un******@gmail.com wrote:
Hello,

I'd like to find out if the following can be done.

When someone comes to my site I would like to check to see if their
homepage is set to my site. If it is then nothing is done. If it is
not then I'd like a link to appear that asks if they'd like to set
their home page to my site.

Can this be done?
I hope not.

Pages offering links to "set the current page as your home page" have,
thankfully, almost compeltely disappeared over the last few years.

If so can someone post the code to do it?


I suspect that any such code will only work in certain browsers. I'd
like to see it too - any browser that allows script access to the home
page URL by default would be one to avoid. Any browser that allows
script, by default, to set the home page to some value would be one to
put on a black list of browsers to be completely avoided.

--
Zif
Feb 15 '06 #3
Zif wrote:
un******@gmail.com wrote:
Hello,

I'd like to find out if the following can be done.

When someone comes to my site I would like to check to see if their
homepage is set to my site. If it is then nothing is done. If it is
not then I'd like a link to appear that asks if they'd like to set
their home page to my site.

Can this be done?


I hope not.

Pages offering links to "set the current page as your home page" have,
thankfully, almost compeltely disappeared over the last few years.

If so can someone post the code to do it?


I suspect that any such code will only work in certain browsers. I'd
like to see it too - any browser that allows script access to the home
page URL by default would be one to avoid. Any browser that allows
script, by default, to set the home page to some value would be one to
put on a black list of browsers to be completely avoided.


I just upgraded to Norton AntiVirus 2006 yesterday, and notice that it
includes a home-page-resetting blocker for IE.

--
John W. Kennedy
"But now is a new thing which is very old--
that the rich make themselves richer and not poorer,
which is the true Gospel, for the poor's sake."
-- Charles Williams. "Judgement at Chelmsford"
Feb 15 '06 #4
John W. Kennedy said the following on 2/14/2006 7:51 PM:
Zif wrote:
un******@gmail.com wrote:
Hello,

I'd like to find out if the following can be done.

When someone comes to my site I would like to check to see if their
homepage is set to my site. If it is then nothing is done. If it is
not then I'd like a link to appear that asks if they'd like to set
their home page to my site.

Can this be done?


I hope not.

Pages offering links to "set the current page as your home page" have,
thankfully, almost compeltely disappeared over the last few years.

If so can someone post the code to do it?


I suspect that any such code will only work in certain browsers. I'd
like to see it too - any browser that allows script access to the home
page URL by default would be one to avoid. Any browser that allows
script, by default, to set the home page to some value would be one to
put on a black list of browsers to be completely avoided.


I just upgraded to Norton AntiVirus 2006 yesterday, and notice that it
includes a home-page-resetting blocker for IE.


I tested Norton a few weeks ago. The only problem it found? It had a
major red-flag that I had a virus *and* a trojan. It's proof? My
homepage had been set (by me no less) to about: blank and according to
Norton that was resounding proof that I had a trojan and a virus.

I trust Norton as far as it takes me to click the "Uninstall this junk"
button on it.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Feb 15 '06 #5
In article <7M********************@comcast.com>, Randy Webb took the
hamburger, threw it on the grill, and I said "Oh wow"...
John W. Kennedy said the following on 2/14/2006 7:51 PM:
Zif wrote:
un******@gmail.com wrote:
Hello,

I'd like to find out if the following can be done.

When someone comes to my site I would like to check to see if their
homepage is set to my site. If it is then nothing is done. If it is
not then I'd like a link to appear that asks if they'd like to set
their home page to my site.

Can this be done?

I hope not.

Pages offering links to "set the current page as your home page" have,
thankfully, almost compeltely disappeared over the last few years.
If so can someone post the code to do it?

I suspect that any such code will only work in certain browsers. I'd
like to see it too - any browser that allows script access to the home
page URL by default would be one to avoid. Any browser that allows
script, by default, to set the home page to some value would be one to
put on a black list of browsers to be completely avoided.


I just upgraded to Norton AntiVirus 2006 yesterday, and notice that it
includes a home-page-resetting blocker for IE.


I tested Norton a few weeks ago. The only problem it found? It had a
major red-flag that I had a virus *and* a trojan. It's proof? My
homepage had been set (by me no less) to about: blank and according to
Norton that was resounding proof that I had a trojan and a virus.

I trust Norton as far as it takes me to click the "Uninstall this junk"
button on it.


I have norton, I've set my homepage to about:blank and it didn't do it
for me.

--
trippy
mhm31x9 Smeeter#29 WSD#30
sTaRShInE_mOOnBeAm aT HoTmAil dOt CoM

NP: "I Am The Law" -- Anthrax

"Now, technology's getting better all the time and that's fine,
but most of the time all you need is a stick of gum, a pocketknife,
and a smile."

-- Robert Redford "Spy Game"









Feb 15 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: TrvlOrm | last post by:
HI There, I have been struggling with JavaScript code for days now, and this is my last resort! Please help... I am trying to create a JavaScript slide show with links for Next Slide,...
5
by: TrvlOrm | last post by:
Can any one please help me...I am new to JavaScript and I have been struggling with this code for days now and can't figure it out. I would like to get the Buttons to correspond with the action...
2
by: Keyser | last post by:
On most my pages, I use Javascript to play a sound. It works fine in Netscape 4.7, Netscape 7.2, Firefox 1.0, IE5 and IE6 using Windows98 as the operating system. However, using WindowsXP as the...
136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
1
by: IkBenHet | last post by:
Hello, Currently I am using a large input form on a website that is based on ASP and JavaScript. Depending on the values that are filled in by the user the forms does a refresh and makes...
8
by: chrisdude911 | last post by:
how do i add video into a javascript web page with my own custom buttons?
3
by: goldenv | last post by:
Hi all, I have worked an open source javascript + html page that has the potential to replace your existing browser home page. If you are interested in trying it out, or learning more about it, it...
9
by: mshepard | last post by:
I am very new to Javascript and would like some advise for the following... a. Declare a variable named rNumber = to the value returned from the randInt() function using 5 as the parameter value. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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,...
0
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...

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.