当前位置:网站首页>Thunderbolt Chrome extension caused the data returned by the server JS parsing page data exception
Thunderbolt Chrome extension caused the data returned by the server JS parsing page data exception
2022-07-03 02:46:00 【Brother Hua】
Recently, I was debugging a project in the company , It uses js, When logging into the system , The page cannot jump normally . But I use other browsers ( Google browser is used for debugging ) Can jump normally . That's strange , Use page debugging tools , The return result obtained from the backend is shown in the figure below :

Inadvertently, I debugged js Inside ajax Submit returned formResult Data results , Discover returned json The data format cannot be parsed , There is an extra piece in the back html Code :
$('#fm-info').form('submit',{
url: '/admin/shop/edit/1',
onSubmit: function(){
return $(this).form('validate');
},
success:function(data){
console.log(data, 9999)
obj = $.parseJSON(data);
if(obj.state){
$.messager.alert(' Prompt information ', obj.message,'info', function(){
var urlRecordList='/admin/shop/list';
parentRefreshTab(' Shop list ',urlRecordList);
parentCloseCurrentTab();
});
}else{
$.messager.alert(' Prompt information ', obj.message);
}
}
}); {"state":true,"message":" Store update succeeded !","data":{"id":63186}}<div class="xl-chrome-ext-bar" id="xl_chrome_ext_{4DB361DE-01F7-4376-B494-639E489D19ED}" style="display: none;">
<div class="xl-chrome-ext-bar__logo"></div>
<a id="xl_chrome_ext_download" href="javascript:;" class="xl-chrome-ext-bar__option"> Download Video </a>
<a id="xl_chrome_ext_close" href="javascript:;" class="xl-chrome-ext-bar__close"></a>
</div>

A strange result appears in the figure above , After querying, the back-end code did not add the returned result . I wonder why the above code is spliced behind the back-end return result . But I saw “ Download Video ” A few words Suddenly it occurred to me that the browser has installed Xunlei plug-in these days , Close the plug-in first , Log in to the website again , Sure enough, the jump returned to normal .
边栏推荐
- Add some hard dishes to the interview: how to improve throughput and timeliness in delayed task scenarios!
- [tutorial] chrome turns off cross domain policies CORS and samesite, and brings cookies across domains
- Deep learning: multi-layer perceptron and XOR problem (pytoch Implementation)
- Gbase 8C trigger (I)
- JS的装箱和拆箱
- Gbase 8C system table PG_ auth_ members
- MUX VLAN Foundation
- javeScript 0.1 + 0.2 == 0.3的问题
- GBase 8c系统表-pg_attribute
- 【翻译】具有集中控制平面的现代应用负载平衡
猜你喜欢
![[translation] modern application load balancing with centralized control plane](/img/b0/22e9bf098d580b2af67255ddcdc0d5.jpg)
[translation] modern application load balancing with centralized control plane

【翻译】具有集中控制平面的现代应用负载平衡

基于can总线的A2L文件解析(2)

Today, it's time to copy the bottom!
![[principles of multithreading and high concurrency: 1_cpu multi-level cache model]](/img/c7/6b5ab4ff7379bfccff7cdbb358ff8f.jpg)
[principles of multithreading and high concurrency: 1_cpu multi-level cache model]

Add automatic model generation function to hade

面试项目技术栈总结
![[principles of multithreading and high concurrency: 1_cpu multi-level cache model]](/img/7e/ad9ea78868126b149bd9f15f587e6c.jpg)
[principles of multithreading and high concurrency: 1_cpu multi-level cache model]

Your family must be very poor if you fight like this!

Le processus de connexion mysql avec docker
随机推荐
GBase 8c触发器(二)
The Linux server needs to install the agent software EPS (agent) database
As a leader, how to control the code version and demand development when the epidemic comes| Community essay solicitation
GBase 8c 触发器(一)
Wechat - developed by wechat official account Net core access
Gbase 8C system table PG_ cast
怎么将yolov5中的PANet层改为BiFPN
Your family must be very poor if you fight like this!
Linear rectification function relu and its variants in deep learning activation function
【富瀚6630编码存录像,用rtsp服务器及时间戳同步实现vlc观看录像】
Kubernetes cluster log and efk architecture log scheme
Gbase 8C system table PG_ database
How to implement append in tensor
Choose it when you decide
SQL Server Query spécifie la structure de la table
GBase 8c系统表-pg_attribute
用docker 連接mysql的過程
Source code analysis | layout file loading process
ASP. Net core 6 framework unveiling example demonstration [02]: application development based on routing, MVC and grpc
Global and Chinese ammonium dimolybdate market in-depth analysis and prospect risk prediction report 2022 Edition