当前位置:网站首页>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 .
边栏推荐
- Your family must be very poor if you fight like this!
- Pytest (6) -fixture (Firmware)
- 【翻译】Flux安全。通过模糊处理获得更多信心
- 用docker 连接mysql的过程
- Strategy application of Dameng database
- Cancer biopsy instruments and kits - market status and future development trends
- Interview stereotyped version
- Random shuffle note
- [shutter] banner carousel component (shutter_wiper plug-in | swiper component)
- GBase 8c系统表-pg_constraint
猜你喜欢

Super easy to use logzero

怎么将yolov5中的PANet层改为BiFPN

Three.js本地环境搭建
![Error when installing MySQL in Linux: starting mysql The server quit without updating PID file ([FAILED]al/mysql/data/l.pid](/img/32/25771baad1ed06c5a592087df748f1.jpg)
Error when installing MySQL in Linux: starting mysql The server quit without updating PID file ([FAILED]al/mysql/data/l.pid

SqlServer行转列PIVOT

Mathematical statistics -- Sampling and sampling distribution

A2L file parsing based on CAN bus (2)

Baidu map - surrounding search

Choose it when you decide
![[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]
随机推荐
Deep learning: multi-layer perceptron and XOR problem (pytoch Implementation)
[translation] modern application load balancing with centralized control plane
ASP. Net core 6 framework unveiling example demonstration [02]: application development based on routing, MVC and grpc
Packing and unpacking of JS
How to return ordered keys after counter counts the quantity
Deep Reinforcement Learning for Intelligent Transportation Systems: A Survey 论文阅读笔记
[Hcia]No.15 Vlan间通信
Gbase 8C system table PG_ auth_ members
Oauth2.0 authentication, login and access "/oauth/token", how to get the value of request header authorization (basictoken)???
迅雷chrome扩展插件造成服务器返回的数据js解析页面数据异常
Pytest (6) -fixture (Firmware)
Interview stereotyped version
Classes and objects - initialization and cleanup of objects - constructor call rules
Add some hard dishes to the interview: how to improve throughput and timeliness in delayed task scenarios!
[flutter] example of asynchronous programming code between future and futurebuilder (futurebuilder constructor setting | handling flutter Chinese garbled | complete code example)
HW-初始准备
As a leader, how to control the code version and demand development when the epidemic comes| Community essay solicitation
The left value and the right finger explain better
The Linux server needs to install the agent software EPS (agent) database
cvpr2022去雨去雾