script(s)?


  
      function remove_scripts()
      {
          this->response_body = preg_replace('#<script[^>]*?>.*?</script>#si', '', this->response_body); // Remove any scripts enclosed between <script />
          this->response_body = preg_replace("#\s*(\bon\w+)=([\"\'])?(.*?)([\"\'])?([\s\>])#i", "$5", this->response_body); // Remove javascript event handlers
          this->response_body = preg_replace('#<noscript>(.*?)</noscript>#si', "$1", this->response_body); //expose any html between <noscript />
  
      }