简体   繁体   English

如何查看包含的 JavaScript 源代码?

[英]How can I see included JavaScript sources?

I am trying to script a web page using GreaseMonkey.我正在尝试使用 GreaseMonkey 编写网页脚本。 (I am using Firebug for help in development.) The page has a small amount of JavaScript code, but that code pulls in other JS files from the site. (我正在使用 Firebug 来帮助开发。)该页面包含少量 JavaScript 代码,但该代码会从站点中提取其他 JS 文件。 Are the entire collection of JS files stored somewhere on the client side (ie on the filesystem somewhere) so that I can view them?整个 JS 文件集合是否存储在客户端的某个地方(即文件系统的某个地方),以便我可以查看它们? Or better yet, is there a way I can view them in Firebug?或者更好的是,有没有办法在 Firebug 中查看它们? I am a little overwhelmed by Firebug but will be able to follow instructions.我对 Firebug 有点不知所措,但可以按照说明进行操作。

Click the script tab in Firebug.单击 Firebug 中的脚本选项卡。 Then look immediately below the tab for a dropdown that shows all the scripts.然后立即在选项卡下方查看显示所有脚本的下拉列表。

右键单击 - 查看源代码

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将html img元素传递给包含javascript的文件? - How can I pass an html img element to a javascript included file? 如何改善我的JavaScript? 包括codepen - How can i improve my javascript? codepen included 如何改进我的 Javascript/jQuery 逻辑? 包含示例 - How can I improve my Javascript/jQuery logic? Example included 我如何让网络驱动程序查看包含的html文件中的元素 - How do i get webdriver to see elements in included html files 如何在我的组件上看到我的数组? / 反应 / Javascript - How can i see my array on my component ? / React / Javascript 我可以看一下JavaScript函数在Firebug中执行需要多长时间? - Can I see how long a JavaScript function takes to execute in Firebug? 如何比较JavaScript中的2个变量以查看日期是否相同? - How can I compare the 2 variables in JavaScript to see if the dates are the same? 如何使用节点调试器查看JavaScript Map的内容? - How can I see the contents of a JavaScript Map using the node debugger? 如何在JavaScript中使用全日历查看一天中的所有文本? - How can I see all text in the day using fullcalendar in javascript? 在 TypeScript 中写入时,如何看到 Deno 转译的 javascript? - How can I see Deno transpiled javascript when writing in TypeScript?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM