Request from an address to html, and then how to stop the script execution of this html

has an address. How can a html, be returned to prevent js execution in the returned html?

Mar.11,2021

returns a status code, which can be judged according to the status code


gives you an idea: regular replacement of strings after the document is returned. Delete all the script tags.


as long as you don't use the immediate loading mode, what you get is equivalent to the character stream, and you can do whatever you want.


ajax request with dataType: 'html'


load js files dynamically as needed

Menu