Yes, to always open in the same tab, use the attribute _self
, and to always open another tab, the attribute _blank
.
For example:
<a href="http://www.seusite.com" target="_blank">Abre em outra página</a>
<a href="http://www.seusite.com" target="_self">Abre na mesma página</a>
Edit: Take a look on this page, especially in the comments, where there is even the link to a possible solution. But already I say that, according to there, modify the behavior of google ad sense can hurt the terms of service, and you can even be kicked out of the system.
But where the person clicks on my site is flash, and is already scheduled to open in new tab.
– Hugo Leonardo
Is there no other method but attribute? Something that affects the entire site?
– Hugo Leonardo
Ah, in this case I don’t know, I think you have to set this up in the flash itself, but there might be something in js... I suggest you edit the question to include more details, mainly stating that the site is flash...
– gustavox
The site is not in flash. It is because it has ads from Google Adsense. Some open in new tab, others do not.
– Hugo Leonardo
I edited the answer, but I don’t think I have good news. :)
– gustavox
If you don’t know the rules yet, read before making Kaka
– Williams