Due to incomplete testing I hadn't noticed that this actually generated
"&&" rather than "&&" in the output. Revert for now while I
solicit some help getting this done right.
There have been two generations of GA since we first implemented GA on
the website. The newest version allows us to get deeper insights while
collecting less personal data. This version is also faster and loads
async which should help load the &os; website on slower networks.
As a reminder: to opt out do ANY of the following:
- block google.com via an adblocker
- set (abuse) the "do not track" header
In addition we've selected to disable many features in the console that
would result in collecting more data.
With Hat: webstats@
or google.com servers. This was always the intention, but due to a bug
it would also run when (for example) accessed via
http://www.freebsd.org.nyud.net.
Approved by: webstats (eadler)
Note that different browsers implement different methods of DNT and
that some chosen values for the JS API has changed sine this was originally implemented.
Approved by: doceng
This should have been here since it was committed.
Implement DNT checks
Make enable/disabling the flip of an obvious switch.
Remove pointless custom variable (it doesn't work anyways)
Fix some style errors
Add a file allowing Google to verify that I "control" freebsd.org
Reviewed by: doceng (gjb)
Approved by: bcr (mentor)
much better ways of doing this in modern web browsers. Furthermore, it
never worked as well as it should have done, as too much of the website is
built around fixed layouts.
It was felt it was best to remove the size switcher from all languages at
once, so that the infrastructure (styleswitcher.js etc.) could be removed
at the same time.
Discussed at: Cambridge DevSummit, August 2012
Discussed on: www@
Approved by: gabor (mentor)
- Move files under <lang>/htdocs/share to <lang>/share.
- s/WEB_PREFIX/DOC_PREFIX/
- Update the webupdate script to use the SVN repository.
Approved by: doceng (implicit)
- Repocopy from www/<lang> to head/<lang>/htdocs to eliminate duplicate
information in the www and the doc directory.
- Add various administration files to svnadmin.
Approved by: doceng (implicit)