Is there any way to get the url of the website the user was on before loading the current website or just a quick way to redirect to it? I understand there is document.referrer
but I need something more ubiquitous.
Also, is there any way to get the users browser home page (or any of the browser settings for that matter)? Now, I don't need the exact URL but a means to, for example, a user to click on a button and get redirected to his homepage.
I understand there are many security concerns over this, but really anything will do.