JSFiddle - React, Tailwind, and code Playground
by shapeshifta
HTML
<a href="javasc"
JavaScript
(function(win) {
function $$(selector) {
return Array.prototype.slice.call(document.querySelectorAll(selector), 0);
}
function logScriptElements(element, index, array) {
if (element.src.indexOf("adition") != -1) {
console.log('Script ' + index + ': [' + element.src + ']' + element.async);
}
alert('fef');
}
$$('script').forEach(logScriptElements);
})(window);