nobody/LocalCDN
25
630
Fork
You've already forked LocalCDN
20

HTML Filtering breaks Font Awesome (monkeytype.com) #295

Closed
opened 2021年03月01日 23:08:52 +01:00 by Yellowsink · 5 comments

I have encountered this on multiple sites, but https://monkeytype.com is a good example. When HTML filtering is enabled, Font-Awesome (CSS) breaks.

HTML filtering enabled (arrow shows where icon should go)
image

HTML filtering disabled
image

I have encountered this on multiple sites, but https://monkeytype.com is a good example. When HTML filtering is enabled, Font-Awesome (CSS) breaks. HTML filtering enabled (arrow shows where icon should go) ![image](/attachments/271f0da3-a471-409f-8322-af6a241e12ee) HTML filtering disabled ![image](/attachments/58d1e8f9-965a-4dc2-8573-4aa8ed67210c)

Many thanks for your report 👍 👍

Unfortunately, I cannot reproduce this. In the HTML code there is only one line with crossorigin/integrity attributes. In this line (Font Awesome) the attributes are removed correctly.

HTML filter disabled:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA==" crossorigin="anonymous" />

HTML filter enabled:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" />

You can try a new Firefox profile (about:profiles -> Wiki) to see if the problem occurs there as well.

Can you give me another website where this happens?

Many thanks for your report 👍 👍 Unfortunately, I cannot reproduce this. In the HTML code there is only one line with crossorigin/integrity attributes. In this line (Font Awesome) the attributes are removed correctly. HTML filter disabled: `<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA==" crossorigin="anonymous" />` HTML filter enabled: `<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" />` You can try a new Firefox profile (`about:profiles` -> [Wiki](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)) to see if the problem occurs there as well. Can you give me another website where this happens?

I am exceptionally confused now. I disabed and re-enabled LocalCDN on monkeytype and it fixed it. Also same trick appeared to work for player svg icons on yugenani.me disappearing.

But it's fixed I guess.

I am exceptionally confused now. I disabed and re-enabled LocalCDN on monkeytype and it fixed it. Also same trick appeared to work for player svg icons on yugenani.me disappearing. But it's fixed I guess.

Hmm, okay that sounds strange. Disable and enable is not a good solution.

Have you tested this with a fresh Firefox profile?

Hmm, okay that sounds strange. Disable and enable is not a good solution. Have you tested this with a fresh Firefox profile?

No i haven't yet

No i haven't yet

If this occurs again, it's necessary to analyze this in detail:

  • Which Firefox version (Normal, Beta, Nightly)?
  • What other extensions are installed?
  • Is there a user.js?

Feel free to reopen this issue

If this occurs again, it's necessary to analyze this in detail: * Which Firefox version (Normal, Beta, Nightly)? * What other extensions are installed? * Is there a user.js? Feel free to reopen this issue
Sign in to join this conversation.
No Branch/Tag specified
main
develop
experimental
v2.6.85
v2.6.84
v2.6.83
v2.6.82
v2.6.81
v2.6.80
v2.6.79
v2.6.78
v2.6.77
v2.6.76
v2.6.75
v2.6.74
v2.6.73
v2.6.72
v2.6.71
v2.6.70
v2.6.69
v2.6.68
v2.6.67
v2.6.66
v2.6.65
v2.6.64
v2.6.63
v2.6.62
v2.6.61
v2.6.60
v2.6.59
v2.6.58
v2.6.57
v2.6.56
v2.6.55
v2.6.54
v2.6.53
v2.6.52
v2.6.51
v2.6.50
v2.6.49
v2.6.48
v2.6.47
3.0.0beta2
3.0.0beta1
v2.6.46
v2.6.45
v2.6.44
v2.6.43
v2.6.42
v2.6.41
v2.6.40
v2.6.39
v2.6.38
v2.6.37
v2.6.36
v2.6.35
v2.6.34
v2.6.33
v2.6.32
v2.6.31
v2.6.30
v2.6.29
v2.6.28
v2.6.27
v2.6.26
v2.6.25
v2.6.24
v2.6.23
v2.6.22
v2.6.21
v2.6.20
v2.6.19
v2.6.18
v2.6.17
v2.6.16
v2.6.15
v2.6.14
v2.6.13
v2.6.12
v2.6.10
v2.6.9
v2.6.8
v2.6.7
v2.6.6
v2.6.5
v2.6.4
v2.6.3
v2.6.2
v2.6.1
v2.6.1beta1
v2.6.0
v2.6.0beta5
v2.6.0beta4
v2.6.0beta2
v2.5.13
v2.5.12
v2.5.11
v2.5.10
v2.5.9
v2.5.8
v2.5.7
v2.5.6
v2.5.5
v2.5.4
v2.5.3
v2.5.2
v2.5.1
v2.5.0
v2.4.0
v2.3.1.10
v2.3.1
v2.3.0
v2.2.18.3
v2.2.17.2
v2.2.17
v2.2.16.1
v2.2.16
v2.2.15
v2.2.14.2
v2.2.14
v2.2.13
v2.2.12
v2.2.10
v2.2.9
v2.2.8
v2.2.7.5
v2.2.7
v2.2.6
v2.2.5
v2.2.4
v2.2.3
v2.2.2
v2.2.1
v2.2.0
v2.1.14
v2.1.13
v2.1.12
v2.1.11
v2.1.10
v2.1.9
v2.1.8
v2.1.7
v2.1.6
v2.1.5
v2.1.4.3
v2.1.4
v2.1.3
v2.1.2
v2.1.1
v2.1.0
v2.0.24
v2.0.23
v2.0.22
v2.0.21
v2.0.20
v2.0.19
v2.0.18
v2.0.17
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nobody/LocalCDN#295
Reference in a new issue
nobody/LocalCDN
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?