I made this 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()
});
The function is to open the adsense iframe, which opens the link of a page that generates the iframe and not the iframe itself.
The question is: Is it possible to give% automatic% in a google adsense advertisement? For example: Clicking on .click
div
he clicks the advertisement and opens the adsense advertising page.