Git Product home page Git Product logo

Comments (5)

lrsjng avatar lrsjng commented on May 17, 2024

Thanks for reporting. Have similar problems on the link as seen in the video with Chrome 12.0.742.124 on Ubuntu. Never had similar problems during development. Chrome is my first browser and my local test environment works fine for 0.10.2.

Do you have the same problems on the sample folder http://larsjung.de/h5ai/sample ? It's still version 0.10 but I will update the sample folder to 0.10.2 now.

from h5ai.

lrsjng avatar lrsjng commented on May 17, 2024

It seems you have some special modifications on your server that add one or two script entries to each page. One is prepended to the head section and another one is appended to the body section. While Chrome seems to get both, Firefox gets only the one at the bottom of the body. Another thing I recognized is that in Chrome all script entries are altered (attribute "src" replaced with "data-djssrc").

Can you give more details what special mods or security features you have enabled? Both scripts are loaded from cloudflare which I don't know...

from h5ai.

charlesroper avatar charlesroper commented on May 17, 2024

Yes, the data-djssrc thing is to do with CloudFlare, which is an advanced
CDN (it's free and very cool indeed). I suspect it is to do with their
Rocket Loader and/or auto-minify features. If I disable them both in
CloudFlare, then h5ai works in Chrome. They are beta features and the
CloufFlare guys are very proactive and so would probably help in
troubleshooting this with you. Here's the report form:

https://www.cloudflare.com/wco-bug-report.html

More info on Rocket Loader here: http://blog.cloudflare.com/56590463

On 26 July 2011 21:14, lrsjng <
[email protected]>wrote:

It seems you have some special modifications on your server that add one or
two script entries to each page. One is prepended to the head section and
another one is appended to the body section. While Chrome seems to get both,
Firefox gets only the one at the bottom of the body. Another thing I
recognized is that in Chrome all script entries are altered (attribute "src"
replaced with "data-djssrc").

Can you give more details what special mods or security features you have
enabled? Both scripts are loaded from cloudflare which I don't know...

Reply to this email directly or view it on GitHub:
#10 (comment)

from h5ai.

lrsjng avatar lrsjng commented on May 17, 2024

Sorry, I decided this goes beyond the borders of this project.. at the moment.

from h5ai.

war59312 avatar war59312 commented on May 17, 2024

Still an issue. :(

Already tried to replace:

/_h5ai/private/php/pages/index.php

Replace:

<script src="<?= $public_href; ?>js/scripts.js" data-module="index"></script>

With:

<script data-cfasync="false" src="<?= $public_href; ?>js/scripts.js" data-module="index"></script>

Perhaps doing something like this can fix it:

https://gist.github.com/webaware/8949605

from h5ai.

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.