1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Web App Install Banner 1.0

Increase engagement with a web app install banner for your XenForo site

  1. Amin Sabet

    Amin Sabet Well-Known Member

    Amin Sabet submitted a new resource:

    Web App Install Banner - Increase engagement with a web app install banner for your XenForo site

    Read more about this resource...
     
    Mouth likes this.
  2. Pierce

    Pierce Well-Known Member

    Amin Sabet and Mouth like this.
  3. Amin Sabet

    Amin Sabet Well-Known Member

    Thanks, I added that to the resource.
     
    Pierce likes this.
  4. Amin Sabet

    Amin Sabet Well-Known Member

    For those of you who are better at this stuff than I am, what is the difference between

    Code:
    { scope: '/' })
    
    and

    Code:
    { scope: './' })
    
    ?

    I noticed mine was slightly different from the sample one in missing the "." but seems to work fine.
     
  5. Pierce

    Pierce Well-Known Member

    In Linux notation it's:

    / The root after domain

    ./ Whatever folder your in

    Like domain.com/biscuits/

    To be honest the scope for a service worker is cryptic
     
    Amin Sabet likes this.

Share This Page