Fixed errors with banner-codes, that assume unaltered URL's
[openx] / openx.js
index 579b16f..ce94f71 100644 (file)
--- a/openx.js
+++ b/openx.js
     name,
     src = domain;
 
+    /**
+     * Without this option, jQuery appends an timestamp to every URL, that
+     * is fetched via $.getScript(). This can mess up badly written
+     * third-party-ad-scripts, that assume that the called URL's are not
+     * altered.
+     */
+    $.ajaxSetup({ cache: true });
+
     document.write = document_write;
     document.writeln = document_write;