{"action":"created","issue":{"url":"https://api.github.com/repos/saenzramiro/rambox/issues/44","repository_url":"https://api.github.com/repos/saenzramiro/rambox","labels_url":"https://api.github.com/repos/saenzramiro/rambox/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/saenzramiro/rambox/issues/44/comments","events_url":"https://api.github.com/repos/saenzramiro/rambox/issues/44/events","html_url":"https://github.com/saenzramiro/rambox/issues/44","id":163561712,"number":44,"title":"Allow custom CSS for services (+ time based activation)","user":{"login":"JamyDev","id":1273267,"avatar_url":"https://avatars.githubusercontent.com/u/1273267?v=3","gravatar_id":"","url":"https://api.github.com/users/JamyDev","html_url":"https://github.com/JamyDev","followers_url":"https://api.github.com/users/JamyDev/followers","following_url":"https://api.github.com/users/JamyDev/following{/other_user}","gists_url":"https://api.github.com/users/JamyDev/gists{/gist_id}","starred_url":"https://api.github.com/users/JamyDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamyDev/subscriptions","organizations_url":"https://api.github.com/users/JamyDev/orgs","repos_url":"https://api.github.com/users/JamyDev/repos","events_url":"https://api.github.com/users/JamyDev/events{/privacy}","received_events_url":"https://api.github.com/users/JamyDev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saenzramiro/rambox/labels/enhancement","name":"enhancement","color":"4FC1E9"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-03T13:13:01Z","updated_at":"2016-10-02T14:44:24Z","closed_at":null,"body":"The idea is that I can include nightmode CSS on Slack during certain times. (And other services too)\r\n\r\nI can probably code this myself so this issue is mostly for tracking :)"},"comment":{"url":"https://api.github.com/repos/saenzramiro/rambox/issues/comments/250974800","html_url":"https://github.com/saenzramiro/rambox/issues/44#issuecomment-250974800","issue_url":"https://api.github.com/repos/saenzramiro/rambox/issues/44","id":250974800,"user":{"login":"sonal-keshav","id":2701579,"avatar_url":"https://avatars.githubusercontent.com/u/2701579?v=3","gravatar_id":"","url":"https://api.github.com/users/sonal-keshav","html_url":"https://github.com/sonal-keshav","followers_url":"https://api.github.com/users/sonal-keshav/followers","following_url":"https://api.github.com/users/sonal-keshav/following{/other_user}","gists_url":"https://api.github.com/users/sonal-keshav/gists{/gist_id}","starred_url":"https://api.github.com/users/sonal-keshav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonal-keshav/subscriptions","organizations_url":"https://api.github.com/users/sonal-keshav/orgs","repos_url":"https://api.github.com/users/sonal-keshav/repos","events_url":"https://api.github.com/users/sonal-keshav/events{/privacy}","received_events_url":"https://api.github.com/users/sonal-keshav/received_events","type":"User","site_admin":false},"created_at":"2016-10-02T14:44:24Z","updated_at":"2016-10-02T14:44:24Z","body":"Hi! quick way to improve this feature...\r\nI added the following JS to the custom code section of the service (and tested it on a few services, with much success)...\r\n\r\n```\r\nfunction applycss(css){\r\n    var head = document.getElementsByTagName('head')[0];\r\n    var s = document.createElement('style');\r\n    s.setAttribute('type', 'text/css');\r\n    s.appendChild(document.createTextNode(css));\r\n    head.appendChild(s);\r\n }\r\n//apply via applycss(`YOUR CSS HERE`);\r\n```\r\n\r\nUse the CSS from [User Styles](https://userstyles.org/). For example, [here's a theme for Messenger](https://userstyles.org/styles/112397/facebook-messenger-the-dark-side)...\r\n"}}
{"actor":{"display_login":"sonal-keshav"}}