Hi all,

I recently tried updating the Javascript involved with google
analytics in r51804. Unfortunately I was either incomplete in my
testing or I had something special in my location environment since
the header is now incorrect. In particular it no longer expands "&"
although replacing them with just "&" errors out. As a result, I reverted
the change, but I'd like to redo it correctly.

The specific problem looked like:
===

if (typeof navigator.doNotTrack !== 'undefined' &&
(navigator.doNotTrack == '1')) {
allow_track = false;
}
if (allow_track && fbsdregex.test(h)) {

===

I'd like some help fixing this.

I am also aware of a similar change in share/xml/freebsd-xhtml-common.xsl where
  <xsl:template name="user.head.content">
    <script type="text/javascript" src="/layout/js/google.js" />
  </xsl:template>

needs to be replaced with the same content I added to header.ent.

Can I please get some help? Thanks!

--
Eitan Adler
_______________________________________________
freebsd-doc@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "freebsd-doc-unsubscr...@freebsd.org"

Reply via email to