Solved

Tell what .js file is running

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
I am having a  Git   issue 6 41
website rewamp 5 42
Code Manager | Snippits 2 35
Html value of radio 14 27
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
The viewer will learn how to count occurrences of each item in an array.
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…

791 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