I'm looking for code which does the following:
When a visitor visits my website and clicks anywhere on the page, (regardless of where the mouse clicks) it will automatically redirect him to another site.
I think an event listener might be a solution, but I'm not sure.
Thanks a lot for any help on this
If possible, I would like there to be a 2 second time delay before it does the redirection.
When a visitor visits my website and clicks anywhere on the page, (regardless of where the mouse clicks) it will automatically redirect him to another site.
I think an event listener might be a solution, but I'm not sure.
Thanks a lot for any help on this

If possible, I would like there to be a 2 second time delay before it does the redirection.
Comment