Solved

Tell what .js file is running

Posted on 2011-02-24
4
310 Views
Last Modified: 2012-05-11
I have some java running on a page I don't want.  Is their an easy tool to tell what .js files are being loaded?  

Thanks
0
Comment
Question by:sonicimpulse
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 39

Accepted Solution

by:
Aaron Tomosky earned 250 total points
ID: 34970622
Firebug
0
 
LVL 13

Expert Comment

by:darren-w-
ID: 34970623
The source should show what's being loaded lines like this in this page:
<script src="http://images.experts-exchange.com/00204/scripts/s_code_0a522bfb0687449fe5b609a65bced569.js" type="text/javascript"></script>

also you can use the firebug plug-in for Firefox
0
 
LVL 20

Expert Comment

by:Proculopsis
ID: 34971135

Try something like this:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js" type="text/javascript"></script>
<script>
jQuery(document).ready(function() {

  $("script").each( function() { alert( $(this).attr("src") ) });

});
</script>

0
 
LVL 82

Assisted Solution

by:leakim971
leakim971 earned 250 total points
ID: 34972799
Using Chrome : Ctrl+Shit + J
You've the ressources button or/and the Script button to display them
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question