Giter Club home page Giter Club logo

Comments (6)

leimao avatar leimao commented on August 26, 2024

After looking at the ShareThis instruction again, I think this <script src={installUrl} defer={true}></script> is required.
However, the ShareThis website recommended using <script src={installUrl} async></script>. Will this make a difference?

from hexo-theme-icarus.

leimao avatar leimao commented on August 26, 2024

Also according to the ShareThis instruction, this script should go to the head before <div class="sharethis-inline-share-buttons"></div>.

from hexo-theme-icarus.

ppoffice avatar ppoffice commented on August 26, 2024

When the widget didn't render correctly, does it stuck in that state or it eventually rendered correctly after waiting? The widget should display without issues no matter the <script> is marked async or defer.

from hexo-theme-icarus.

leimao avatar leimao commented on August 26, 2024

@ppoffice It will not render correctly unless I refresh the web page in the browser. This happens from time to time on my Linux and MacOS OS (I mostly use Chrome), but not very often. I don't know if it's the service provider's issue or our implementation issue.

from hexo-theme-icarus.

ppoffice avatar ppoffice commented on August 26, 2024

I cannot reproduce the issue with my ISP. Could you please change to another CDN provider and see if the issue resolve for you?

from hexo-theme-icarus.

leimao avatar leimao commented on August 26, 2024

Screenshot from 2024-08-22 21-49-56

I just encountered this again. It happens once every few days. Because it's not always reproducible, switching CDN providers is not a good solution.

from hexo-theme-icarus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.