Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
hakankenandemir
tagDiv Member

We did that too, yet there is still no ads.

Here in page source, you can see that codes are implemented: amp

Still no idea why they don’t show. We’ve waited whole day.

hakankenandemir
tagDiv Member

Hello. We actually found a function to do this, yet it opens literally every link on the website in new tab, which is this:


<script language=javascript>
function externalLinks()
{
    if (!document.getElementsByTagName) return;
    var anchors = document.getElementsByTagName("a");
    for (var i=0; i<anchors.length; i++)
    {
        var anchor = anchors[i];
        if(anchor.getAttribute("href"))
            anchor.target = "_blank";
    }
}
window.onload = externalLinks;
</script>

We just want our homepage article links to open in new tab, which means that our block links. We use only h3’s in our articles, so is there any addition can we make to this script to make it happen? Or is there another way?

Our website to test: birgun.net

Thank you

hakankenandemir
tagDiv Member

Hey. I did these, now texts in chrome are gone.

error

hakankenandemir
tagDiv Member

Thank you.

Viewing 4 posts - 1 through 4 (of 4 total)