{"action":"created","issue":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/316","repository_url":"https://api.github.com/repos/plotly/plotly.js","labels_url":"https://api.github.com/repos/plotly/plotly.js/issues/316/labels{/name}","comments_url":"https://api.github.com/repos/plotly/plotly.js/issues/316/comments","events_url":"https://api.github.com/repos/plotly/plotly.js/issues/316/events","html_url":"https://github.com/plotly/plotly.js/issues/316","id":138601930,"number":316,"title":"Should the 'send to cloud' option be disabled by default?","user":{"login":"th0ma5w","id":465284,"avatar_url":"https://avatars.githubusercontent.com/u/465284?v=3","gravatar_id":"","url":"https://api.github.com/users/th0ma5w","html_url":"https://github.com/th0ma5w","followers_url":"https://api.github.com/users/th0ma5w/followers","following_url":"https://api.github.com/users/th0ma5w/following{/other_user}","gists_url":"https://api.github.com/users/th0ma5w/gists{/gist_id}","starred_url":"https://api.github.com/users/th0ma5w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/th0ma5w/subscriptions","organizations_url":"https://api.github.com/users/th0ma5w/orgs","repos_url":"https://api.github.com/users/th0ma5w/repos","events_url":"https://api.github.com/users/th0ma5w/events{/privacy}","received_events_url":"https://api.github.com/users/th0ma5w/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-04T22:16:23Z","updated_at":"2016-03-07T20:39:43Z","closed_at":null,"body":"The CDN hosted version of the library includes the toolbar link to immediately copy the data elsewhere. It would be nice to use the CDN version without this seemingly insecure option that can be clicked accidentally. There does not seem to be a way to disable this option. The Codepen examples all use a custom build and not the CDN version, so this issue is not apparent on the examples.\r\n\r\nAlternatively, perhaps hosting can be done at CDNJS or Google if this button is a condition of the cost of the CDN hosting."},"comment":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/comments/193440071","html_url":"https://github.com/plotly/plotly.js/issues/316#issuecomment-193440071","issue_url":"https://api.github.com/repos/plotly/plotly.js/issues/316","id":193440071,"user":{"login":"etpinard","id":6675409,"avatar_url":"https://avatars.githubusercontent.com/u/6675409?v=3","gravatar_id":"","url":"https://api.github.com/users/etpinard","html_url":"https://github.com/etpinard","followers_url":"https://api.github.com/users/etpinard/followers","following_url":"https://api.github.com/users/etpinard/following{/other_user}","gists_url":"https://api.github.com/users/etpinard/gists{/gist_id}","starred_url":"https://api.github.com/users/etpinard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etpinard/subscriptions","organizations_url":"https://api.github.com/users/etpinard/orgs","repos_url":"https://api.github.com/users/etpinard/repos","events_url":"https://api.github.com/users/etpinard/events{/privacy}","received_events_url":"https://api.github.com/users/etpinard/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T20:39:43Z","updated_at":"2016-03-07T20:39:43Z","body":"> Unfortunately not all data is open, and not all people immediately get some of the implications, at least in my opinion.\r\n\r\nThat's a very good point. I personally agree with you. But Plotly isn't my company, so I can't guarantee an outcome for this issue nor any short-term action.\r\n\r\nAt the moment, the workaround of least-friction is:\r\n\r\n```js\r\n// include the call below once per page:\r\nPlotly.setPlotConfig({\r\n  modeBarButtonsToRemove: ['sendDataToCloud']\r\n});\r\n\r\n// then all subsequent \r\nPlotly.plot('graph', data, layout);\r\n\r\n// won't show the send data to cloud mode bar button\r\n```"}}