检测什么JS功能正在使用Firefox工具创建元素 [英] Detect what JS function is creating an element with Firefox tools

查看:116
本文介绍了检测什么JS功能正在使用Firefox工具创建元素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个JavaScript页面正在创建的页面,页面加载后,我想删除它们,但我不能找到创建它们的函数。

我不知道Firefox的工具能帮我吗?我使用Firefox 53.0.3右键单击检查元素,搜索代码库的ID或类的名称为div看看产生了什么。不知道这是jQuery,角度,甚至是元素的类型,我不能帮助你更多。


I have a page with elements that JavaScript is creating at some point after the page loads and I want to remove them but I cant find the function that creates them.

I wonder if Firefox tools can help me with that? I use Firefox 53.0.3

解决方案

right click inspect element, search code base for the ID or the class name of the div to see what spawns it. Without knowing if this is jquery, angular, or even the type of element I can not assist you more.

这篇关于检测什么JS功能正在使用Firefox工具创建元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆