librejs
authork054 <kosa@riseup.net>
Fri, 27 Nov 2015 01:18:49 +0000 (20:18 -0500)
committerk054 <kosa@riseup.net>
Fri, 27 Nov 2015 01:18:49 +0000 (20:18 -0500)
v6/givingguide.html

index 0428d52..c5fc557 100755 (executable)
@@ -636,22 +636,20 @@ Software Foundation at <a href="https://smile.amazon.com">smile.amazon.com</a> t
                         </footer>
 
 
-                       <script type="text/javascript">
-
-                         // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
-                         var _paq = _paq || [];
-                         _paq.push(["trackPageView"]);
-                         _paq.push(["enableLinkTracking"]);
-
-                         (function() {
-                         var u=(("https:" == document.location.protocol) ? "https" : "http") + "://piwik.fsf.org/";
-                         _paq.push(["setTrackerUrl", u+"piwik.php"]);
-                         _paq.push(["setSiteId", "14"]);
-                         var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
-                         g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
-                           })();
-                          
-                       </script>
+
+                       <!-- Piwik -->
+                       <script type="text/javascript" >
+                         // @license magnet:?xt=urn:btih:c80d50af7d3db9be66a4d0a86db0286e4fd33292&dn=bsd-3-clause.txt
+                         var pkBaseURL = (("https:" == document.location.protocol) ? "https://piwik.fsf.org/" : "http://piwik.fsf.org/");
+                         document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+                         try {
+                         var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 14);
+                         piwikTracker.trackPageView();
+                         piwikTracker.enableLinkTracking();
+                         } catch( err ) {}
+                         // @license-end
+                       </script><noscript><p><img src="//piwik.fsf.org/piwik.php?idsite=14" style="border:0" alt="" /></p></noscript>
+                       <!-- End Piwik Tracking Code -->
 
 
                            </body>