{"action":"closed","issue":{"url":"https://api.github.com/repos/privly/privly-safari/issues/29","labels_url":"https://api.github.com/repos/privly/privly-safari/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/privly/privly-safari/issues/29/comments","events_url":"https://api.github.com/repos/privly/privly-safari/issues/29/events","html_url":"https://github.com/privly/privly-safari/issues/29","id":93416247,"number":29,"title":"Indicate when the extension is on/off","user":{"login":"sammyshj","id":4390022,"avatar_url":"https://avatars.githubusercontent.com/u/4390022?v=3","gravatar_id":"","url":"https://api.github.com/users/sammyshj","html_url":"https://github.com/sammyshj","followers_url":"https://api.github.com/users/sammyshj/followers","following_url":"https://api.github.com/users/sammyshj/following{/other_user}","gists_url":"https://api.github.com/users/sammyshj/gists{/gist_id}","starred_url":"https://api.github.com/users/sammyshj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammyshj/subscriptions","organizations_url":"https://api.github.com/users/sammyshj/orgs","repos_url":"https://api.github.com/users/sammyshj/repos","events_url":"https://api.github.com/users/sammyshj/events{/privacy}","received_events_url":"https://api.github.com/users/sammyshj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-07T01:48:01Z","updated_at":"2015-07-09T22:00:11Z","closed_at":"2015-07-09T22:00:11Z","body":"Presently, we can stop the extension by clicking on `Stop Injecting`. However, to denote the running state of the extension, there is no on/off visual.\r\nIn Safari extensions, we cannot have a modal button so the best thing to do in my opinion, is to have 2 different images, one with the on and one with the off text. Once the `Stop Injecting` is pressed, the image with the off text will be shown as the image of the toolbar item. On clicking `Start Injecting`, the image of the toolbar will be change again.\r\n@smcgregor What do you think about this approach?"}}