-2
I made that code:
$(".readmore").attr('id','google_flash_embed').one("click",function(e){e.preventDefault();console.log("Feito por Loko, direitos reservados");dhtml=$('#google_ads_frame2').attr('src');window.open(window.dhtml);$('#google_ads_frame2:eq(0)').hide()});
Indented version:
$(".readmore")
.attr('id', 'google_flash_embed')
.one("click", function(e) {
e.preventDefault();
console.log("Feito por Loko, direitos reservados");
dhtml = $('#google_ads_frame2').attr('src');
window.open(window.dhtml);
$('#google_ads_frame2:eq(0)').hide()
});
Its function is to open the iframe of Adsense, and it opens the link of a page that generates the iframe and not the iframe itself.
The question is, can you give a .click
automatic in a google Adsense advertisement? For example: By clicking on div
#teste
it click on the advertisement and open the Adsense advertising page.
I don’t know if there’s a way, but you know this is against Google policy, right?
– Paulo Rodrigues
If you do this your Adsense account will be banned (and your CPF).
– André Ribeiro
Question being discussed at meta http://meta.pt.stackoverflow.com/questions/25/questions-posedas fraudar-systems
– Paulo
Considering what is being discussed in the goal, that perhaps the question was misinterpreted, I edited it and removed my vote against.
– Victor Stafusa
I know I’ll be punished, I just want to know how to do.
– lucas lira
@lucaslira Your question seems to have been misinterpreted... Try to be clearer in your question. What you really want to do?
– Papa Charlie