Help needed for simple javascript

I want to open a new URL tab right after a few seconds of visiting the site. I asked the question on StackOverflow but the script is not loading.

the new tab window is not loading

can anyone help I am new in codeing.

What do they have to say about the script that they provided?

A community geared for coding, such as for example StackOverflow you’re mentioning, sounds to be a better place to ask this.

It would be hard for anyone here to dig in to, as you’re not really sharing any useful information (e.g. link to the StackOverflow thread, the actual code you tried, error output, … et cetera).

1 Like

StackOverflow is the correct place for that.