{"action":"opened","issue":{"url":"https://api.github.com/repos/Khan/tota11y/issues/62","labels_url":"https://api.github.com/repos/Khan/tota11y/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/Khan/tota11y/issues/62/comments","events_url":"https://api.github.com/repos/Khan/tota11y/issues/62/events","html_url":"https://github.com/Khan/tota11y/issues/62","id":105616645,"number":62,"title":"tota11y as an extension, instead of a bookmarklet","user":{"login":"jdan","id":287268,"avatar_url":"https://avatars.githubusercontent.com/u/287268?v=3","gravatar_id":"","url":"https://api.github.com/users/jdan","html_url":"https://github.com/jdan","followers_url":"https://api.github.com/users/jdan/followers","following_url":"https://api.github.com/users/jdan/following{/other_user}","gists_url":"https://api.github.com/users/jdan/gists{/gist_id}","starred_url":"https://api.github.com/users/jdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdan/subscriptions","organizations_url":"https://api.github.com/users/jdan/orgs","repos_url":"https://api.github.com/users/jdan/repos","events_url":"https://api.github.com/users/jdan/events{/privacy}","received_events_url":"https://api.github.com/users/jdan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-09T15:06:23Z","updated_at":"2015-09-09T15:06:23Z","closed_at":null,"body":"Since starting tota11y I've been on the fence to make it a full-fledged browser extension, or keep it as a bookmarklet.\r\n\r\n**Bookmarklet pros:**\r\n* Easy to install\r\n* Easy to support multiple browsers\r\n* Script is portable - teams can include it in the dev-environment (we do this at Khan Academy)\r\n\r\n**Bookmarklet cons:**\r\n* Requires manual activation (click the bookmarklet) on every pageload\r\n* Can't save preferences across sites\r\n* **Can't be loaded on every site** (tota11y injects a `<script>` tag into the DOM because its code is so large, sites like GitHub block these requests)\r\n\r\n**Extension pros:**\r\n* Can be loaded on every site\r\n* Can be loaded automatically on every pageload\r\n* Can have cross-site options (toggle which plugins you want)\r\n* Access to an extension API - which we'll need to audit things like unsemantic buttons (`getEventListeners(DOMElement)`)\r\n\r\n**Extension cons:**\r\n* If your company uses tota11y, each employee would have to install it manually (this is one of the reasons I originally opted for a bookmarklet)\r\n* Must maintain multiple browser releases\r\n\r\nThere's also the question of having *both* a bookmarklet and extension.\r\n\r\nWould love to hear your thoughts!"}}