Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to add a button 'set as my homepage' to my website. When the user will click on the button - my website should be the homepage in the all user's browsers.

How can I do it?

If it needed, it's possible to download an .exe file to the user - and run it.
I can use any available programming language.

Thanks in advance!

What I have tried:

I searched in google, but I didn't find any solution.
Posted
Updated 25-Dec-16 23:35pm

Your google-fu skills need work: a trivial search gets you this: set as my homepage button - Google Search[^]
 
Share this answer
 
Comments
Member 11736781 26-Dec-16 13:25pm    
I found a lot of ways to set the browsers home page manually, or to set the current working browser.
But I didn't find a way to change the home page of all the browsers in one click.
If you want to do this automatically from your website, then it isn't possible.

JavaScript scripts on websites can't access the file system (so you can't use that to change settings). They also cannot download and run .exe-files on the computer automatically. Which is a good thing: imagine the malware that could get on your computer so easily!

What you could do, is research how all browsers store their settings and then write an application that the users can choose to download and run. But I think you have better uses of your time: I doubt that such a tool would be trusted and used amongst many users.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900