{"id":16432718,"url":"https://github.com/teles/raio-dorializador","last_synced_at":"2025-03-23T08:31:44.038Z","repository":{"id":144746883,"uuid":"79815421","full_name":"teles/raio-dorializador","owner":"teles","description":"Plugin chrome para deixar sua internet tão cinza quanto a cidade de SP sob a gestão Dória","archived":false,"fork":false,"pushed_at":"2017-01-30T01:30:22.000Z","size":26,"stargazers_count":19,"open_issues_count":5,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T10:12:21.743Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teles.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-23T15:09:29.000Z","updated_at":"2019-11-16T20:46:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"08ef1e69-583e-4cd8-a0ab-1507f316db3c","html_url":"https://github.com/teles/raio-dorializador","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teles%2Fraio-dorializador","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teles%2Fraio-dorializador/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teles%2Fraio-dorializador/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teles%2Fraio-dorializador/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teles","download_url":"https://codeload.github.com/teles/raio-dorializador/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245078067,"owners_count":20557274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T08:44:12.698Z","updated_at":"2025-03-23T08:31:44.025Z","avatar_url":"https://github.com/teles.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://cloud.githubusercontent.com/assets/762639/22410056/3ce4cbce-e67a-11e6-8dfd-b39635ea1172.jpg\" width=\"150px\" align=\"left\"\u003e\n\n# Raio Dórializador\n\nPlugin chrome para deixar sua internet tão cinza quanto a cidade de SP sob a gestão João Dória. \n\n\u003cbr\u003e\u003cbr\u003e\n### Código do plugin:\n\nAo instalar o plugin todas as páginas do seu navegador ficarão lindas, isto é, cinzas. O código que faz isso pode ser visto a seguir:\n\n```javascript\nfunction changeAllImagesToGrey () {\n\tvar images = Array.from(document.getElementsByTagName(\"img\"));\n\timages.forEach(function (i) {\n\t\ti.removeAttribute('src');\n\t\ti.style.backgroundColor = '#a5a0a0';\n\t});\n}\n\nfunction makeEverythingGrayscale () {\n\tdocument.getElementsByTagName(\"html\")[0].style.filter = \"grayscale(100%)\";\n}\n\nchangeAllImagesToGrey();\nmakeEverythingGrayscale();\n\n(function (XHR) {\n    XHR.prototype.open = function () {\n        changeAllImagesToGrey();\n    };\n})(XMLHttpRequest);\n```\n\n## Próximos passos:\n\n* ~~Habilitar ícone da extensão com botão liga/desliga;~~\n* Empacotar código como extensão baixável pelo site de addon do Chrome;\n* Adicionar sessão sobre como instalar no README, com link;\n* Adicionar gif mostrando a utilização do plugin em uma página do google imagens com antes e depois;\n* Adicionar a licença WTFPL;\n* Adicionar lista de artigos sobre a operação cidade linda neste README\n\n## Contribuidores:\n\n* [William Oliveira](https://www.github.com/woliveiras)\n* [Daniel Rubin](https://www.github.com/dann95)\n* [Rafael Kato](https://www.github.com/rafakato)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteles%2Fraio-dorializador","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteles%2Fraio-dorializador","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteles%2Fraio-dorializador/lists"}