What you’re asking for is generally considered very annoying page behavior and, therefore, isn’t widely supported.
A better UX (User Experience) choice is to give a small set of “how-to” instructions on how the users can make your page their homepage in their respective browsers. Give the user the choice!
More Related Contents:
- Why are regular expressions taking the helm in my JavaScript, and how do I insist “this is a string”? [closed]
- Is it possible to display a custom message in the beforeunload popup?
- new Date() is working in Chrome but not Firefox
- Detecting the onload event of a window opened with window.open
- style.display=’none’ doesn’t work on option tags in chrome, but it does in firefox
- Cryptic “Script Error.” reported in Javascript in Chrome and Firefox
- Breakpoint on property change
- How to getting browser current locale preference using javascript?
- JavaScript Time Zone is wrong for past Daylight Saving Time transition rules
- How JavaScript closures are garbage collected
- Does execCommand SaveAs work in Firefox?
- Open IE browser in Firefox/Chrome page
- Animated gif only loops once in Chrome and Firefox
- What happens to code after a javascript redirect (setting window.location.href)?
- Add to browser favorites/bookmarks from JavaScript but for all browsers (mine doesn’t work in Chrome)?
- Chrome – Fetch API cannot load file. How to workaround?
- Why is a function declaration within a condition block hoisted to function scope in Chrome but not Firefox?
- How can I inspect disappearing element in a browser?
- Get cursor or text position in pixels for input element
- Why are function declarations handled differently in different browsers?
- How to get result of console.trace() as string in javascript with chrome or firefox?
- Silence net::ERR_CONNECTION_REFUSED
- How to detect if user has enabled full screen in browser
- How to use “segments” mode at SourceBuffer of MediaSource to render same result at Chomium, Chorme and Firefox?
- chrome Pop-up blocker when to re-check after allowing page
- Chrome won’t play WebAudio getUserMedia via WebRTC/Peer.js
- Official locator strategies for the webdriver
- Can I force a link to open in a specific browser?
- Why is document.body null in my javascript?
- How I can make a browser action button that looks and acts like a toggle