Skip to content
Snippets Groups Projects
Commit dde6968e authored by David Byers's avatar David Byers
Browse files

Added compose script.

parent 450bc415
No related branches found
No related tags found
No related merge requests found
Pipeline #32557 passed
// Modify the displayed message to clarify where safelinks are
// inserted and to show the actual link targets.
for (const link of document.links) {
if (isTangledLink(link.href)) {
link.href = untangleLink(link.href);
}
}
for (const node of getTextNodes(document)) {
node.textContent = untangleLink(node.textContent);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment