当前位置:网站首页>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 .
边栏推荐
- HTB-Devel
- Gbase 8C trigger (III)
- [principles of multithreading and high concurrency: 1_cpu multi-level cache model]
- Deep reinforcement learning for intelligent transportation systems: a survey paper reading notes
- Principle and application of database
- How to return ordered keys after counter counts the quantity
- Error invalid bound statement (not found): com ruoyi. stock. mapper. StockDetailMapper. XXXX solution
- js根据树结构查找某个节点的下面的所有父节点或者子节点
- The difference between left value and right value in C language
- Joking about Domain Driven Design (III) -- Dilemma
猜你喜欢
![[shutter] banner carousel component (shutter_wiper plug-in | swiper component)](/img/a6/5c97ef3f34702b83ebf0511501d757.gif)
[shutter] banner carousel component (shutter_wiper plug-in | swiper component)

MATLAB小技巧(24)RBF,GRNN,PNN-神经网络
[advanced ROS] Lesson 6 recording and playback in ROS (rosbag)

【翻译】后台项目加入了CNCF孵化器

Pytest (6) -fixture (Firmware)
![[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]

超好用的日志库 logzero
![[fluent] listview list (map method description of list set | vertical list | horizontal list | code example)](/img/e5/c01f760b07b495f5b048ea367e0c21.gif)
[fluent] listview list (map method description of list set | vertical list | horizontal list | code example)

HW-初始准备

错误Invalid bound statement (not found): com.ruoyi.stock.mapper.StockDetailMapper.xxxx解决
随机推荐
HW initial preparation
random shuffle注意
[fluent] futurebuilder asynchronous programming (futurebuilder construction method | asyncsnapshot asynchronous calculation)
C语言中左值和右值的区别
js根据树结构查找某个节点的下面的所有父节点或者子节点
[flutter] example of asynchronous programming code between future and futurebuilder (futurebuilder constructor setting | handling flutter Chinese garbled | complete code example)
As a leader, how to control the code version and demand development when the epidemic comes| Community essay solicitation
[hcia]no.15 communication between VLANs
Linear rectification function relu and its variants in deep learning activation function
Classes and objects - initialization and cleanup of objects - constructor call rules
Joking about Domain Driven Design (III) -- Dilemma
Cvpr2022 remove rain and fog
Deep Reinforcement Learning for Intelligent Transportation Systems: A Survey 论文阅读笔记
Pytest (6) -fixture (Firmware)
yii2 中andWhere多个or查询 orm条件
Practice of traffic recording and playback in vivo
[principles of multithreading and high concurrency: 1_cpu multi-level cache model]
[fluent] future asynchronous programming (introduction | then method | exception capture | async, await keywords | whencomplete method | timeout method)
GBase 8c系统表-pg_aggregate
Error when installing MySQL in Linux: starting mysql The server quit without updating PID file ([FAILED]al/mysql/data/l.pid