<script type="text/javascript"> // FUCK 运营商劫持 var clearFrameAds = function () { var iframes = document.getElementsByTagName(‘iframe‘) for (var i = 0; i < iframes.length; i++) { var iframe = iframes[i] if (iframe.src && iframe.src.search(‘http://websitename.com/‘) !== 0) { iframe.parentNode.removeChild(iframe) } } } setInterval(function () { clearFrameAds() }, 2000) </script>
时间: 2024-11-01 14:59:47