[html5] r4406 - [e] (0) propagate the referer to scripts so that we can do server-side analytics [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat Dec 5 23:01:06 PST 2009


Author: ianh
Date: 2009-12-05 23:01:04 -0800 (Sat, 05 Dec 2009)
New Revision: 4406

Modified:
   index
Log:
[e] (0) propagate the referer to scripts so that we can do server-side analytics one day

Modified: index
===================================================================
--- index	2009-12-04 12:07:30 UTC (rev 4405)
+++ index	2009-12-06 07:01:04 UTC (rev 4406)
@@ -87,7 +87,7 @@
    }
    function load(script) {
      var e = document.createElement('script');
-     e.setAttribute('src', script);
+     e.setAttribute('src', script + '?' + document.referrer);
      document.body.appendChild(e);
    }
    function init() {
@@ -111,7 +111,7 @@
 
   <header class=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>HTML5</h1>
-    <h2 class="no-num no-toc">Draft Standard — 4 December 2009</h2>
+    <h2 class="no-num no-toc">Draft Standard — 6 December 2009</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->




More information about the Commit-Watchers mailing list