Yett
A small webpage library to control the execution of (third party - analytics for example) scripts & iframes
This (demo) page includes two blacklisted scripts and an iframe
appending html content when executed.
- One javascript which is inlined with a
<script>
tag inserted inside<head>
. - Another script is inserted using:
document.createElement('SCRIPT') && document.head.appendChild(scriptElement)
. - Finally an
iframe
element that loads external content.
These scripts should not have been executed on load, so initially the dashed zone below should be empty!
Check out your browser's devtools network/source tabs 😉.