javascript - Stopping the use of a URL to get to the site -


so have website redirects part of site ie, when pressing button on "www.test.com" reditects "www.test.com/anotherpage". problem want users able access second page when using button , not typing in "www.test.com/anotherpage" search bar.

so, there way setup page such cannot accessed url redirected part of website?

document.referrer

the value empty string if user navigated page directly (not through link, but, example, via bookmark). since property returns string, not give dom access referring page.


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -