Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Is there any way to inactive adsense for a device with specific resolution?

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #172671
    nazmul
    Participant

    Hi! Is there any way to inactive adsense code for a device with specific resolution (240*320)?

    Or Is there any way to inactive adsense code for lower browsers like opera mini?

    You might think that, Opera Mini doesn’t support adsesnse itself. But if I activate adsense for mobile device, my site doesn’t load in opera mini! :/

    #172673
    Paulie_D
    Member

    I assume you mean that you don’t want adsense to work at a specific width.

    Without knowing how it’s actually fed in…I’m assuming it’s JS then your only option would be to remove the element either by using a media query or actively removing the element from the DOM with JS.

    At least that’s the only thing I can think of.

    #172674
    nazmul
    Participant

    Thanks. I meant it. But I’m not good at coding. I’m using Blogger Responsive Template. Will you please provide a sample code?

    #172676
    Paulie_D
    Member

    Will you please provide a sample code?

    Nope…I don’t know how adsense is injected so I can’t help you there.and any ‘sample code’ would likely be highly dependent of your specific page template.

    You might try a good Google search….

    #172677
    Paulie_D
    Member
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Other’ is closed to new topics and replies.