https://vnstat.net/ #689

Closed
opened 4 months ago by Influ · 3 comments
Influ commented 4 months ago

Crossorigin and/or integrity attributes found!
Firefox: Enable the HTML filter

It's stuck on infinite loading with HTML filter disabled and no CSS when it's enabled.

> Crossorigin and/or integrity attributes found! > Firefox: Enable the HTML filter It's stuck on infinite loading with HTML filter disabled and no CSS when it's enabled.
nobody added the
framework/mapping
label 4 months ago
nobody added this to the v2.6.16 milestone 4 months ago
nobody referenced this issue from a commit 4 months ago
nobody referenced this issue from a commit 4 months ago
nobody referenced this issue from a commit 4 months ago
Owner

Thanks for your report.

It's stuck on infinite loading with HTML filter disabled

Yes this is normal because the website uses HTML source code integrity and crossorigin attributes for external libraries. The page then can't load these resources and so it shows an infinite loop.

no CSS when it's enabled

I guess you have enabled the Block requests for missing resources option. I have added the missing resource. However, this resource contains different themes and the versions are not backward compatible. Each theme for each major version requires 16 MB in total. So I added only one theme for now. If there are other websites that use this resource but a different theme, I will add them.

If you want to test this, you can find instructions here: https://codeberg.org/nobody/LocalCDN/wiki#user-content-5-you-recently-changed-something-in-the-code-and-i-would-like-to-test-it-how-can-i-do-that

Thanks for your report. > It's stuck on infinite loading with HTML filter disabled Yes this is normal because the website uses HTML source code integrity and crossorigin attributes for external libraries. The page then can't load these resources and so it shows an infinite loop. > no CSS when it's enabled I guess you have enabled the `Block requests for missing resources` option. I have added the missing resource. However, this resource contains different themes and the versions are not backward compatible. Each theme for each major version requires 16 MB in total. So I added only one theme for now. If there are other websites that use this resource but a different theme, I will add them. If you want to test this, you can find instructions here: https://codeberg.org/nobody/LocalCDN/wiki#user-content-5-you-recently-changed-something-in-the-code-and-i-would-like-to-test-it-how-can-i-do-that
Poster

16 mega. Isn't it a little too much for serving only a single website? I don't want to bloat the extension just for a single case.
I am curious: which resources is missing for this website to work? I am not familiar with bootstrap.min.css or datatables.min.js but when I downloaded them, they only were worth few hundreds ko. I probably don't know what I am talking about, though.

16 mega. Isn't it a little too much for serving only a single website? I don't want to bloat the extension just for a single case. I am curious: which resources is missing for this website to work? I am not familiar with bootstrap.min.css or datatables.min.js but when I downloaded them, they only were worth few hundreds ko. I probably don't know what I am talking about, though.
Owner

The 16 MB are all themes of Bootswatch together. The reported website needs only one theme (Flatly):

https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.4.0/flatly/bootstrap.min.css

I have only added this theme, but in the three main versions: v3.4.0 v4.6.0 and v.5.1.1.

All other themes are not integrated in LocalCDN at the moment.

You can see the other themes here:
https://cdnjs.com/libraries/bootswatch/3.4.0
https://bootswatch.com/

The 16 MB are all themes of Bootswatch together. The reported website needs only one theme (Flatly): `https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.4.0/flatly/bootstrap.min.css` I have only added this theme, but in the three main versions: v3.4.0 v4.6.0 and v.5.1.1. All other themes are not integrated in LocalCDN at the moment. You can see the other themes here: https://cdnjs.com/libraries/bootswatch/3.4.0 https://bootswatch.com/
nobody closed this issue 4 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.