• Resolved Glenn

    (@hometowntrailers)


    How do I prevent warning.png from loading? With my use case, I’m never needing that file to load in the first place.

    I’m aware of the CSS that you share elsewhere. But that doesn’t prevent the file from loading. Pingdom shows the file loaded and consuming unnecessary resources.

    It should only load in the use case where the file must be avaialable.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wp-buy

    (@wp-buy)

    First of all, thank you for choosing our products. We really appreciate this.
    Secondly,
    We just use this image inside this class (warning-wpcp) and it shows inside the alert (<div>) only
    The browser (by default) load that (<div>) then hide it and it after that it will still hidden and stab-by to show when anyone click it
    .warning-wpcp {
    background:#ffecec url(‘https://www.your-website.com/wp-content/plugins/wp-content-copy-protector/images/warning.png&#8217;) no-repeat 10px 50%; border:1px solid #f5aca6;}

    I’m aware of the CSS that you share elsewhere. But that doesn’t prevent the file from loading. Pingdom shows the file loaded and consuming unnecessary resources.

    Its just 0.5 kb, this is very very small when we talk about resources
    By the way, i will try to find a better solution for this (if i can)
    Thank you

    Plugin Author wp-buy

    (@wp-buy)

    OK, we found a solution to load it after the action happens
    Thanks for you idea, just wait for the next update to see the solution published
    Thank you @hometowntrailers

    Thread Starter Glenn

    (@hometowntrailers)

    Thanks for your responses!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘prevent warning.png from loading…’ is closed to new replies.