mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 07:19:25 -05:00
Skip firing a tracking pixel if we're on a secure domain.
This commit is contained in:
@@ -90,7 +90,7 @@ reddit, reddit.com, vote, comment, submit
|
||||
</%def>
|
||||
|
||||
<%def name="head()">
|
||||
%if g.tracker_url and thing.site_tracking:
|
||||
%if g.tracker_url and thing.site_tracking and not c.secure:
|
||||
<script type="text/javascript">
|
||||
(function() {
|
||||
var url = '${UserInfo.gen_url()}';
|
||||
|
||||
Reference in New Issue
Block a user