disable addthis address tracking
This commit is contained in:
@@ -112,7 +112,6 @@
|
|||||||
$img.data("scale_factor", ratio);
|
$img.data("scale_factor", ratio);
|
||||||
$img.css("width", $img.width() * ratio);
|
$img.css("width", $img.width() * ratio);
|
||||||
$img.css("height", $img.height() * ratio);
|
$img.css("height", $img.height() * ratio);
|
||||||
console.log("ratio=%f", ratio);
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$img.data("scale_factor", 1);
|
$img.data("scale_factor", 1);
|
||||||
|
|||||||
@@ -5,9 +5,7 @@
|
|||||||
$.get("/sources.json", {
|
$.get("/sources.json", {
|
||||||
url: url
|
url: url
|
||||||
}).success(function(data) {
|
}).success(function(data) {
|
||||||
console.log(data);
|
|
||||||
}).error(function(data) {
|
}).error(function(data) {
|
||||||
console.log(data);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|||||||
@@ -8,13 +8,14 @@
|
|||||||
<a class="addthis_counter addthis_bubble_style"></a>
|
<a class="addthis_counter addthis_bubble_style"></a>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var addthis_config = {"data_track_addressbar":true};
|
var addthis_config = {"data_track_addressbar": false};
|
||||||
var addthis_share = {
|
var addthis_share = {
|
||||||
"url":"<%= j post_path(post, :only_path => false, :host => Danbooru.config.hostname) %>",
|
"url":"<%= j post_path(post, :only_path => false, :host => Danbooru.config.hostname) %>",
|
||||||
"title": "<%= j post.presenter.humanized_essential_tag_string %>"
|
"title": "<%= j post.presenter.humanized_essential_tag_string %>"
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4f8dbf8a41066ac7"></script>
|
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4f8dbf8a41066ac7"></script>
|
||||||
|
|
||||||
<!-- AddThis Button END -->
|
<!-- AddThis Button END -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user