By | fr33domlover |
At | 2015-05-21 |
Title | remove g00gle ana1ytic$ |
Description |
Edit file src/Hpaste/View/Layout.hs 33188 → 33188
33 33 wrap $ do
34 34 nav
35 35 logo
36 36 pageBody
37 37 foot
- 38 preEscapedString "<script type=\"text/javascript\"> var _gaq = _gaq \
+ 38 preEscapedString ""{-"<script type=\"text/javascript\"> var _gaq = _gaq \
39 39 \|| []; _gaq.push(['_setAccount', 'UA-7443395-10']);\
40 40 \ _gaq.push(['_trackPageview']); (function() {var ga\
41 41 \ = document.createElement('script'); ga.type = 'tex\
42 42 \t/javascript'; ga.async = true; ga.src = ('https:' \
43 43 \== document.location.protocol ? 'https://ssl' : \
44 44 \'http://www') + '.google-analytics.com/ga.js'; var\
45 45 \ s = document.getElementsByTagName('script')[0]; \
- 46 \s.parentNode.insertBefore(ga, s);})(); </script>"
+ 46 \s.parentNode.insertBefore(ga, s);})(); </script>"-}
47 47 48 48 where js s = script ! A.type_ "text/javascript"
49 49 ! A.src ("/js/" ++ s) $
50 50 return ()
51 51 … … … …