I have a PartialViewModel in my MVC application that contains the following set up:
@model MyModel
<script type="text/javascript" src="PathToThirdPartyJSFile"></script>
<script type = "text/javascript" language="javascript">
//Use Function in ThirdPartyJS File.
</script>
This partial view model gets inserted into the @section PageJavaScriptBottom on a few different pages. The javascript file is not referenced locally due to vendor request.
Using Firefox 9.0.1, this remote Javascript file does not get called/loaded for my session only and in Firefox only. The file loads fine in IE, Chrome and Safari. Firebug provides no insight. Fiddler in Firefox shows that the request doesn’t even get made. I’ve cleared cache, cookies and everything else I can think of. I can navigate to the remote JS file directly in Firefox with no issue.
Other folks in my office cannot reproduce this issue on their machines with Firefox 9.0.1.
What are some other diagnostics things that I can do to try and figure out what this issue is?
Solved: The host URL for the Vendor’s Javascript File is listed in the AdBlock filter list I was using in my Firefox installation.