D
D
DMax9212018-04-06 17:28:02
JavaScript
DMax921, 2018-04-06 17:28:02

How to make google adsense ads open in a new tab?

Please tell me how to make ads open in a new tab when clicked, like here on the toaster, it opens in a new tab.
And then they click and the site is lost ....
Thank you

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
E, 2018-04-06
@aylo

mark with solution target="_blank"

O
Orkhan Hasanli, 2018-04-06
@azerphoenix

You can open the site in a new window by adding to the link target="_blank"
Without making changes to the code, you are unlikely to be able to do anything. Another option... write a small js code that will open ads in a new window on the client side

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question