Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The search functionality is broken when using the localcdn extension #150

Closed
demanuel opened this issue Feb 27, 2023 · 5 comments
Closed

Comments

@demanuel
Copy link

There are some errors in the browser console:

https://i.imgur.com/lw0Wro8.png

"LocalCDN is a web browser extension for your Firefox that emulates CDNs (Content Delivery Networks). It intercepts the network traffic between a website and remote CDNs, finds supported resources locally, and injects them into the environment. All of this happens automatically, so no prior configuration is required." (from the developers at https://codeberg.org/nobody/LocalCDN/wiki )

@coke
Copy link
Contributor

coke commented Feb 27, 2023

Shouldn't this be a bug on the localcdn plugin, not on us?

@coke
Copy link
Contributor

coke commented Feb 27, 2023

Looks like they have a jQuery specific FAQ that they rewrite the version of jQuery used sometimes, and that this can cause issues.

@finanalyst
Copy link
Collaborator

Will this have an effect on #139 ?

@demanuel
Copy link
Author

Shouldn't this be a bug on the localcdn plugin, not on us?

I opened because it was working with the old version and now it isn't... So it was the new version that introduced the issue and also maybe someone would also have the same issue as me.

With a bit more investigation by using https://www.localcdn.org/test/check to test the site

it indicates that the issue is because "Crossorigin and/or integrity attributes". It also presents a solution within the extension configuration:

Solution:
• Firefox: Enable the HTML filter
• Other browsers do not support the HTML filter. Please disable LocalCDN for these websites.

@coke
Copy link
Contributor

coke commented Feb 27, 2023

Given that the solution for non-FF is "disable localCDN" - I'm going to close this ticket, but it's good you opened it, because now others have a trail if they have a similar issue.

@coke coke closed this as not planned Won't fix, can't repro, duplicate, stale Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants