Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Dylan Lopez
Added: Mar 5, 2018 8:30 AM
Views: 9
  1. //Kill all <script> tag
  2. foreach($html->find('script') as $element){
  3.     $element->outertext = '';
  4. }