Solved

Tell what .js file is running

Posted on 2011-02-24
4
306 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
4 Comments
 
LVL 38

Accepted Solution

by:
Aaron Tomosky earned 250 total points
Comment Utility
Firebug
0
 
LVL 13

Expert Comment

by:darren-w-
Comment Utility
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
Comment Utility

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
Comment Utility
Using Chrome : Ctrl+Shit + J
You've the ressources button or/and the Script button to display them
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
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 the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now