You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GarboMuffin
changed the title
innerHTML is used in places where DOMParser should be used
innerHTML is used unnecessarily in very many places
Jan 22, 2023
GarboMuffin
changed the title
innerHTML is used unnecessarily in very many places
innerHTML is used in places where DOMParser should be used
Jan 22, 2023
Consider these functions:
ScratchTools/features/follower-count.js
Lines 11 to 12 in 471e718
ScratchTools/features/hover-user-cards.js
Lines 34 to 35 in 471e718
ScratchTools/features/load-more-forum-posts.js
Lines 35 to 36 in 471e718
It is my belief that these functions should use the DOMParser API instead of actual DOM elements
The text was updated successfully, but these errors were encountered: