3 lines
109 B
JavaScript
3 lines
109 B
JavaScript
importScripts("../dist/xss.js");
|
|
|
|
postMessage(filterXSS('<a href="#" onclick="alert(/xss/)">click me</a>'));
|