{"action":"created","issue":{"url":"https://api.github.com/repos/leeight/bce-bos-uploader/issues/25","repository_url":"https://api.github.com/repos/leeight/bce-bos-uploader","labels_url":"https://api.github.com/repos/leeight/bce-bos-uploader/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/leeight/bce-bos-uploader/issues/25/comments","events_url":"https://api.github.com/repos/leeight/bce-bos-uploader/issues/25/events","html_url":"https://github.com/leeight/bce-bos-uploader/issues/25","id":182321323,"number":25,"title":"min.js 自带百度统计并且无法关闭","user":{"login":"SwimmingTiger","id":4986069,"avatar_url":"https://avatars.githubusercontent.com/u/4986069?v=3","gravatar_id":"","url":"https://api.github.com/users/SwimmingTiger","html_url":"https://github.com/SwimmingTiger","followers_url":"https://api.github.com/users/SwimmingTiger/followers","following_url":"https://api.github.com/users/SwimmingTiger/following{/other_user}","gists_url":"https://api.github.com/users/SwimmingTiger/gists{/gist_id}","starred_url":"https://api.github.com/users/SwimmingTiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwimmingTiger/subscriptions","organizations_url":"https://api.github.com/users/SwimmingTiger/orgs","repos_url":"https://api.github.com/users/SwimmingTiger/repos","events_url":"https://api.github.com/users/SwimmingTiger/events{/privacy}","received_events_url":"https://api.github.com/users/SwimmingTiger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-11T17:12:09Z","updated_at":"2016-10-11T17:39:00Z","closed_at":null,"body":"src/tracker.js 编译进了 bce-bos-uploader.bundle.min.js，默认开启，自动加载来自 hm.baidu.com 的 js 和图标，并且无法通过选项关闭，这让我感觉很不好。\r\n\r\n而且 README 中没有关于自带百度统计的任何说明，我在毫不知情的情况下就被统计了，我甚至不知道数据传送到了谁的百度统计帐号里。感觉哗一声，隐私就没有了。\r\n\r\n如果不是用户告诉我“360浏览器提示站点正在从未经验证的来源加载js”，我也许会一直忽略这个问题。\r\n\r\n正在努力删掉这段代码并且重新编译压缩js。\r\n\r\n希望从 min.js 中移除这段代码。你可以只在编译你需要的版本时加上它。"},"comment":{"url":"https://api.github.com/repos/leeight/bce-bos-uploader/issues/comments/252989180","html_url":"https://github.com/leeight/bce-bos-uploader/issues/25#issuecomment-252989180","issue_url":"https://api.github.com/repos/leeight/bce-bos-uploader/issues/25","id":252989180,"user":{"login":"SwimmingTiger","id":4986069,"avatar_url":"https://avatars.githubusercontent.com/u/4986069?v=3","gravatar_id":"","url":"https://api.github.com/users/SwimmingTiger","html_url":"https://github.com/SwimmingTiger","followers_url":"https://api.github.com/users/SwimmingTiger/followers","following_url":"https://api.github.com/users/SwimmingTiger/following{/other_user}","gists_url":"https://api.github.com/users/SwimmingTiger/gists{/gist_id}","starred_url":"https://api.github.com/users/SwimmingTiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwimmingTiger/subscriptions","organizations_url":"https://api.github.com/users/SwimmingTiger/orgs","repos_url":"https://api.github.com/users/SwimmingTiger/repos","events_url":"https://api.github.com/users/SwimmingTiger/events{/privacy}","received_events_url":"https://api.github.com/users/SwimmingTiger/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T17:39:00Z","updated_at":"2016-10-11T17:39:00Z","body":"刚刚在 src/config.js 中看到了\r\n```js\r\n// 是否要禁用统计，默认不禁用\r\n// 如果需要禁用，把 tracker_id 设置成 null 即可\r\ntracker_id: '2e0bc8c5e7ceb25796ba4962e7b57387'\r\n```\r\n\r\n这应该也能在 init 参数中用来关掉统计吧，还没有测试。\r\n\r\n（然而百度统计出现在这个项目里真的合适吗？我们真的想用百度统计的话，会自己把统计代码放在站点底部的，非常简单。）\r\n\r\n（问题是，总觉得上传插件因此变大了~~~啊啊啊啊啊）"}}
{"actor":{"display_login":"SwimmingTiger"}}