当前位置:网站首页>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 .
边栏推荐
- MUX VLAN Foundation
- 用docker 连接mysql的过程
- Global and Chinese ammonium dimolybdate market in-depth analysis and prospect risk prediction report 2022 Edition
- Informatics Olympiad one general question bank 1006 a+b questions
- Baidu map - surrounding search
- Build a private cloud disk cloudrev
- sql server数据库添加 mdf数据库文件,遇到的报错
- Add MDF database file to SQL Server database, and the error is reported
- Practice of traffic recording and playback in vivo
- How to implement append in tensor
猜你喜欢

Deep reinforcement learning for intelligent transportation systems: a survey paper reading notes

《MATLAB 神经网络43个案例分析》:第43章 神经网络高效编程技巧——基于MATLAB R2012b新版本特性的探讨

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

Mathematical statistics -- Sampling and sampling distribution
![[hcia]no.15 communication between VLANs](/img/59/a467c5920cbccb72040f39f719d701.jpg)
[hcia]no.15 communication between VLANs

Add automatic model generation function to hade

Deep learning: multi-layer perceptron and XOR problem (pytoch Implementation)

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

Matlab tips (24) RBF, GRNN, PNN neural network

Error invalid bound statement (not found): com ruoyi. stock. mapper. StockDetailMapper. XXXX solution
随机推荐
Cvpr2022 remove rain and fog
Gbase 8C system table PG_ amproc
Gbase 8C system table PG_ cast
SqlServer行转列PIVOT
Monitoring and management of JVM
[flutter] example of asynchronous programming code between future and futurebuilder (futurebuilder constructor setting | handling flutter Chinese garbled | complete code example)
用docker 连接mysql的过程
[shutter] setup of shutter development environment (supplement the latest information | the latest installation tutorial on August 25, 2021)
【翻译】具有集中控制平面的现代应用负载平衡
Deep learning: multi-layer perceptron and XOR problem (pytoch Implementation)
Pytest (6) -fixture (Firmware)
[translation] the background project has joined the CNCF incubator
yii2 中andWhere多个or查询 orm条件
Three.js本地环境搭建
Linear rectification function relu and its variants in deep learning activation function
Source code analysis | resource loading resources
Principle and application of database
Gbase 8C function / stored procedure parameters (I)
xiaodi-笔记
定了,就选它