GitLab Docs broken #213

Closed
opened 9 months ago by ectoco · 1 comments
ectoco commented 9 months ago

Please note the following tips

  • Does the website work after you activate the second switch to filter the HTML source code?
    Yes

  • Is there already an existing issue? (Search for the URL, e.g. "codeberg.org" or "localcdn.org")
    No

  • Does the website use a strict SOP? Wiki article: Broken JavaScript or CSS on some websites
    Yes

  • Which browser do you use? Chromium-based browsers do not support all features of LocalCDN. Wiki article: Chromium incompatibilities
    Firefox

Example

https://docs.gitlab.com/ee/ci/pipelines/job_artifacts.html

## Please note the following tips * Does the website work after you activate the second switch to filter the HTML source code? Yes * Is there already an existing issue? (Search for the URL, e.g. "codeberg.org" or "localcdn.org") No * Does the website use a strict SOP? Wiki article: [Broken JavaScript or CSS on some websites](https://codeberg.org/nobody/LocalCDN/wiki/Home#user-content-7-a-website-looks-weird-or-cannot-be-used-if-i-deactivate-localcdn-everything-works-what-is-the-problem) Yes * Which browser do you use? Chromium-based browsers do not support all features of LocalCDN. Wiki article: [Chromium incompatibilities](https://codeberg.org/nobody/LocalCDN/wiki/Home#user-content-2-can-i-use-this-extension-in-my-chrome-browser) Firefox ## Example https://docs.gitlab.com/ee/ci/pipelines/job_artifacts.html
nobody added the
missing framework/mapping
label 9 months ago
nobody added this to the v2.5.12 milestone 9 months ago
nobody referenced this issue from a commit 9 months ago
Owner

Thank you for your report. If the website works with the HTML filter enabled, then everything is correct and there is no bug. On this web page there are crossorigin and integrity attributes that will block the replacement. Therefore LocalCDN can only replace the frameworks if these attributes are removed.


However, I noticed that the search field doesn't work because "docsearch.js" is missing. I've added the framework 😉

https://cdnjs.cloudflare.com/ajax/libs/docsearch.js/2.6.3/docsearch.min.js
https://cdnjs.cloudflare.com/ajax/libs/docsearch.js/2.6.3/docsearch.min.css
Thank you for your report. If the website works with the HTML filter enabled, then everything is correct and there is no bug. On this web page there are crossorigin and integrity attributes that will block the replacement. Therefore LocalCDN can only replace the frameworks if these attributes are removed. --- However, I noticed that the search field doesn't work because "docsearch.js" is missing. I've added the framework 😉 ``` https://cdnjs.cloudflare.com/ajax/libs/docsearch.js/2.6.3/docsearch.min.js https://cdnjs.cloudflare.com/ajax/libs/docsearch.js/2.6.3/docsearch.min.css ```
nobody closed this issue 9 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.