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
After this line, only the rel and href attributes are set. I'm sure there be dragons with using el.cloneNode() to copy all attribute values outright (event handlers, integrity, etc.), but these attributes should definitely be kept if present on the original element: