This update forcing a refresh every 60 seconds is really annoying. I think perchance is incredible, but, ESPECIALLY on mobile it’s beyond obnoxious. The ad takes up 1/6 of my screen on mobile, and when I’m typing with the keypad brought up, I have like zero space to actually see what’s being typed. Any way to make this less intrusive?

  • Cocell@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    I think I now know your gender. :D

    As for ads, yes it often refreshes the application even when we do not have an adblocker. Due to the recent protest in my country, I think it could be due to; a slow network, or a restriction. My country have restricted access to many websites, and I think it could contribute to why the application cannot display ads, I still lean towards the slow network scenario.

    Also, I think you should use also use the dvh unit for as well, since in mobile, there is an issue where the application does not account for browser specific UI. I could show you some screenshots, but I don’t have any. :\

    And to avoid confusion, this is how I use the dvh unit.

    • perchance@lemmy.worldM
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      3 months ago

      yes it often refreshes the application even when we do not have an adblocker

      Does this happen when ads are shown, or have been shown? Or only when there haven’t been any ads shown since the page was loaded? And if you then refresh the page, do ads sometimes show up, or do ads never show up? Does it depend on any factors that you can deduce - e.g. using mobile vs wifi, or different device, etc.? Any clues here would be helpful, because I’d really not like these issues to affect people who are earnestly trying to help fund the AI models, but ads just aren’t available for whatever reason. Seems like quite a few people have this issue - maybe related to geography in part.

      I think you should use also use the dvh unit for as well, since in mobile, there is an issue where the application does not account for browser specific UI. I could show you some screenshots, but I don’t have any

      Can you explain this a bit more? Or try to get a screenshot next time it happens? I don’t really understand

      • Cocell@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        The CSS dvh unit stands for “Dynamic Viewport Height.” It represents a portion of the height of the viewport, which can adjust dynamically as the viewport changes size, such as when a user groups tabs together in mobile, or resizes the window. It will take those elements into accounts as well when changing size.

        Since the browser support is not solid, many people declare it after declaring a normal height: 100vh rule. You can understand it greatly via this short video.

        About the ads, I will need a little time, I will experiment with it and see what I can find. For now, I know that almost every user with an unstable network is affected by this.

        Also, I was creating a script to interact with Perchance via the NPM Puppeteer module. But whenever Perchance was loaded, all the UIs were gone, or at least supposed to be gone. I wanted to learn a bit about this.

        The only problem it gave was that it was hard to login to my account via Puppeteer. The core reason I am using Puppeteer is so that I can push updates directly from my terminal. What do you think about that? There certainly are applications that can connect to a GitHub.

      • Cocell@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        After looking into it a bit, it seems it only happens if there are network disturbance, which would prevent the ad from being displayed and which is interpreted as an ad blocker preventing the ad from being displayed.