简体   繁体   English

firefox:ajax 请求:在新选项卡中打开响应有效负载作为 html 文件

[英]firefox: ajax request: open reponse payload in new tab as a html file

I have some ajax requests in my page.我的页面中有一些ajax请求。

Sometimes the response is a html page code.有时response是 html 页面代码。

IN that scenarios i want to see the html in a new tab在那种情况下,我想在新标签中看到 html

so that i can see it nicely rendered这样我就可以看到它渲染得很好

Eg of the response is show below例如,响应如下所示

在此处输入图像描述

How can i do this.我怎样才能做到这一点。

It can open this response as some tmp.html in a new tab它可以在新选项卡中将此响应作为一些tmp.html打开

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM