tomsseisums
tomsseisums

Reputation: 13367

Chrome does not load external JavaScript

This ain't no spam, the actual website I'm working on (sorry, it's in Latvian).

The problem here is that there is a tracking script provided by AdForm, which Chrome does not want to load. Firefox loads it smoothly. Have not checked with other browsers though.

Since the script is external, I cannot think of a way to debug it.

Has anyone experienced such a problem with Chrome and how do I fix this?

The script is right before the closing <head> tag.

Update

As Blender has suggested, I've tried removing the async parameter before, but to no avail.

Upvotes: 2

Views: 8399

Answers (1)

Vic
Vic

Reputation: 12527

You most likely have the AdBlock extension (or some similar one) installed. If I disable AdBlock the script loads just fine in Google Chrome. With it activated, the script gets blocked.

Update

The AdBlock extension (both the Google Chrome and Firefox versions) uses EasyList, which is a list of adserver domains. Any files loaded from these domains are getting blocked by the extension, and adform.net, the domain your external JS file resides on is on the list (do a CTRL+F for it).

Upvotes: 4

Related Questions