Solved

Tell what .js file is running

Posted on 2011-02-24
4
309 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

735 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