ୈ5ষ ࣥචதʹֶΜͩ͜ͱ
• Sanitizer APIͱ͍͏DOMPurifyͷΑ͏ͳWebඪ४API͕ࣥච్தͰ
ग़͖ͯͨ
const untrustedStr = location.hash;
//

const sanitizer = new Sanitizer(untrustedStr);
const target = document.getElementById(untrustedStr);
target.setHTML(untrustedStr, { sanitizer });
//

4BOJUJ[FS"1*Λ͏ͱ)5.-͔Βةݥͳจࣈྻ͕আ͞ΕΔ