I want to set the homepage and new tab URL on Firefox and Chrome. When the user clicks on a button on my webpage, it will automatically change the browser homepage.
- When we go to
about:config
on the Firefox, we have all of configuration to customize. There is a preference namebrowser.newtab.url
- I have to set/change this value to my custom URL.
Is it possible to change this string value by JavaScript or through a URL the user clicks on?
- I have to change Chrome new tab URL by JavaScript or through a URL the user clicks.
I don't know if this is possible or not.
If you know a way to change these things, then please tell.