{"id":32122,"date":"2019-10-31T21:45:16","date_gmt":"2019-10-31T18:45:16","guid":{"rendered":"https:\/\/prohoster.info\/blog\/toster-vsyo-v-komposter-filtruj-i-kajfuj\/"},"modified":"2019-10-31T21:45:16","modified_gmt":"2019-10-31T18:45:16","slug":"toster-vsyo-v-komposter-filtruj-i-kajfuj","status":"publish","type":"post","link":"https:\/\/prohoster.info\/es\/blog\/news\/toster-vsyo-v-komposter-filtruj-i-kajfuj","title":{"rendered":"Toster: todo en compostera. Filtra y disfruta","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Resulta que en la CEI el recurso ruso Q&amp;A sobre temas de TI es bastante popular \u2014 <noindex><a rel=\"nofollow\" href=\"https:\/\/toster.ru\/\">Tostadora<\/a><\/noindex>. Sin embargo, le faltaba algo cuando comenc\u00e9 a familiarizarme con \u00e9l. Esto se tradujo en una mejora en forma de extensi\u00f3n de navegador. Con\u00f3zcanla.<\/p>\n<p>Caracter\u00edsticas clave:<\/p>\n<ul>\n<li><b>Nombre:<\/b> Toster Comfort.<\/li>\n<\/ul>\n<ul>\n<li><b>Estad\u00edsticas de usuarios:<\/b> porcentaje de preguntas con soluci\u00f3n; karma de Habr; resumen del perfil \u2014 todo esto en la lista de preguntas de Toster.<\/li>\n<\/ul>\n<ul>\n<li><b>Notificaciones:<\/b> en tiempo real en el sitio, en el \u00edcono, adem\u00e1s de notificaciones push, muchas configuraciones, el sitio debe estar abierto (<noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/MarisKori\/Toster-Comfort\/wiki\/%D0%A3%D0%B2%D0%B5%D0%B4%D0%BE%D0%BC%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F\">wiki<\/a><\/noindex>).<\/li>\n<\/ul>\n<ul>\n<li><b>Filtros:<\/b> condiciones basadas en f\u00f3rmulas: se pueden ocultar preguntas, colorearlas y mostrar notificaciones; todo esto se configura de manera flexible en forma de condiciones l\u00f3gicas (<noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/MarisKori\/Toster-Comfort\/wiki\/%D0%94%D0%BE%D0%BF%D0%BE%D0%BB%D0%BD%D0%B8%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D1%8B%D0%B5-%D0%BF%D1%80%D0%B0%D0%B2%D0%B8%D0%BB%D0%B0\">wiki<\/a><\/noindex>).<\/li>\n<\/ul>\n<ul>\n<li><b>Interfaz:<\/b> mejoras menores, por ejemplo, mostrar fechas exactas o mostrar el estado de la suscripci\u00f3n en la lista de preguntas.<\/li>\n<\/ul>\n<ul>\n<li><b>Interfaz de Habr:<\/b> mejoras menores (opcional), por ejemplo, l\u00edneas en las sangr\u00edas de los comentarios.<\/li>\n<\/ul>\n<ul>\n<li><b>C\u00f3digo abierto:<\/b> se puede modificar si se desea (<noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/MarisKori\/Toster-Comfort\">el c\u00f3digo fuente<\/a><\/noindex>).<\/li>\n<\/ul>\n<ul>\n<li><b>Gratis:<\/b> Licencia MIT.<\/li>\n<\/ul>\n<ul>\n<li><b>Plataforma:<\/b> <noindex><a rel=\"nofollow\" href=\"https:\/\/chrome.google.com\/webstore\/detail\/toster-comfort\/opmddoloccnldcfbglknhpjgcljkodko\">Chrome<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/addons.mozilla.org\/ru\/firefox\/addon\/toster-comfort\/\">Firefox<\/a><\/noindex>.<\/li>\n<\/ul>\n<ul>\n<li><b>Consumo de memoria:<\/b> 30-50 MB, dependiendo de las opciones y la intensidad de uso de Toster.<\/li>\n<\/ul>\n<ul>\n<li><b>Tama\u00f1o:<\/b> 93 KB para v0.8.1 (c\u00f3digo descomprimido, no minimizado).<\/li>\n<\/ul>\n<ul>\n<li><b>Framework:<\/b> no hay, puro JS (minimalismo).<\/li>\n<\/ul>\n<ul>\n<li><b>Calidad del c\u00f3digo:<\/b> media, mezcla de estilos, funciones grandes, t\u00e9cnicas sucias, pocos comentarios.<\/li>\n<\/ul>\n<ul>\n<li><b>Permisos:<\/b> <code>toster.ru, habr.com, notifications, storage, unlimitedStorage.<\/code><\/li>\n<\/ul>\n<p>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex>Inicialmente, la extensi\u00f3n fue creada para m\u00ed mismo con un \u00fanico objetivo: mostrar el porcentaje de preguntas del usuario en las que se dign\u00f3 a presionar el bot\u00f3n \"Marcar como resuelto\". Luego, poco a poco, fueron agreg\u00e1ndose unas y otras caracter\u00edsticas hasta que la herramienta creci\u00f3 hasta convertirse en un monstruo de cien kilobytes. Sin embargo, el principio de \"no usar nada innecesario\" se mantuvo hasta el final.<\/p>\n<p>Una de las principales caracter\u00edsticas ahora es el uso de f\u00f3rmulas en la configuraci\u00f3n. Con ellas se puede hacer pr\u00e1cticamente lo que se desee, cualquier requerimiento para gestionar la atenci\u00f3n. Lo principal es saber qu\u00e9 querer. Ocultar, cambiar el color y las notificaciones \u2014 esos son los tres aspectos principales de la atenci\u00f3n al trabajar en el sitio. Filtrar todo y cualquier cosa, es clave para la comodidad.<\/p>\n<p>Ejemplo de una regla flexible que permitir\u00e1 recibir notificaciones sobre un tema espec\u00edfico:<\/p>\n<pre><code class=\"javascript\">!tag(\"Bloqueo de anuncios\") &amp;&amp; !contains(t,\"anuncios\") &amp;&amp; contains(t,\"bloqueo\") &amp;&amp; !tag(\"HTACCESS\") || containsWord(t,\"rkn\") || contains(t,\"roskomnadzor\") || contains(t,\"roskomposor\") || contains(t,\"estado\") || contains(t,\"prohibido\") || contains(t,\"pirata\") || containsWord(t,\"elusi\u00f3n\") || containsWord(t,\"rostelecom\") || containsWord(t,\"yarovaya\") || containsWord(t,\"rf\") &amp;&amp; tag(\"Redes inform\u00e1ticas\") = notify<\/code><\/pre>\n<p>\nPara ser claro, no se pod\u00eda usar la funci\u00f3n eval(). As\u00ed que no hay mucho margen de maniobra. Por eso tuve que escribir mi propio truco de 5 KB de c\u00f3digo, utilizando <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%9E%D0%B1%D1%80%D0%B0%D1%82%D0%BD%D0%B0%D1%8F_%D0%BF%D0%BE%D0%BB%D1%8C%D1%81%D0%BA%D0%B0%D1%8F_%D0%B7%D0%B0%D0%BF%D0%B8%D1%81%D1%8C\">notaci\u00f3n polaca inversa<\/a><\/noindex>. Esto, se puede decir, es JS muy limitado, tanto en funciones como en sintaxis.<\/p>\n<p>Recientemente hubo una publicaci\u00f3n sobre <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/445450\/\">Extensi\u00f3n Toster<\/a><\/noindex>. Si comparamos, TE tiene una interfaz m\u00e1s agradable y algunas funciones que no est\u00e1n en Toster Comfort. Sin embargo, mi extensi\u00f3n se centra en el consumo de recursos. No obstante, nadie impide usar ambas extensiones, no deber\u00edan entrar en conflicto.<\/p>\n<p>En realidad, TC deber\u00eda reescribirse desde cero, porque se podr\u00eda acelerar el trabajo al menos al doble, y el trabajo con cach\u00e9 \u2014 diez veces, renunciando a localStorage y JSON.stringify() y cambiando algunas decisiones arquitect\u00f3nicas. Pero esa haza\u00f1a ya no me corresponde a m\u00ed. Y soy un defensor del principio de \u00absi funciona, no lo toques\u00bb. Mientras dure el descanso, acepto activamente issues y PR, pero sin menoscabar el minimalismo. \u00a1Gracias por su atenci\u00f3n!<br \/>\n<br \/>Fuente: habr.com<\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0422\u0430\u043a \u0443\u0436 \u0441\u043b\u043e\u0436\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0432 \u0421\u041d\u0413 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u0435\u043d \u0440\u0443\u0441\u0441\u043a\u0438\u0439 Q&amp;A \u0440\u0435\u0441\u0443\u0440\u0441 \u043f\u043e \u0418\u0422 \u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0435 \u2014 \u0422\u043e\u0441\u0442\u0435\u0440. \u041e\u0434\u043d\u0430\u043a\u043e \u0447\u0435\u0433\u043e-\u0442\u043e \u0435\u043c\u0443 \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u043b\u043e, \u043a\u043e\u0433\u0434\u0430 \u044f \u043d\u0430\u0447\u0430\u043b \u043f\u043b\u043e\u0442\u043d\u043e \u0441 \u043d\u0438\u043c \u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f. \u042d\u0442\u043e \u0438 \u0432\u044b\u043b\u0438\u043b\u043e\u0441\u044c \u0432 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0435 \u0432 \u0432\u0438\u0434\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u043e\u0433\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f. \u0412\u0441\u0442\u0440\u0435\u0447\u0430\u0439\u0442\u0435. \u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438: \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435: Toster Comfort. \u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439: \u043f\u0440\u043e\u0446\u0435\u043d\u0442 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432 \u0441 \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c; \u043a\u0430\u0440\u043c\u0430 \u0441 \u0425\u0430\u0431\u0440\u0430; \u0441\u0432\u043e\u0434\u043a\u0430 \u0438\u0437 \u043f\u0440\u043e\u0444\u0438\u043b\u044f [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-32122","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0422\u0430\u043a \u0443\u0436 \u0441\u043b\u043e\u0436\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0432 \u0421\u041d\u0413 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u0435\u043d \u0440\u0443\u0441\u0441\u043a\u0438\u0439 Q&amp;A \u0440\u0435\u0441\u0443\u0440\u0441 \u043f\u043e \u0418\u0422 \u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0435 \u2014 \u0422\u043e\u0441\u0442\u0435\u0440.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/es\/blog\/news\/toster-vsyo-v-komposter-filtruj-i-kajfuj\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"es_ES\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0422\u043e\u0441\u0442\u0435\u0440 \u2014 \u0432\u0441\u0451 \u0432 \u043a\u043e\u043c\u043f\u043e\u0441\u0442\u0435\u0440. \u0424\u0438\u043b\u044c\u0442\u0440\u0443\u0439 \u0438 \u043a\u0430\u0439\u0444\u0443\u0439 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0422\u0430\u043a \u0443\u0436 \u0441\u043b\u043e\u0436\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0432 \u0421\u041d\u0413 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u0435\u043d \u0440\u0443\u0441\u0441\u043a\u0438\u0439 Q&amp;A \u0440\u0435\u0441\u0443\u0440\u0441 \u043f\u043e \u0418\u0422 \u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0435 \u2014 \u0422\u043e\u0441\u0442\u0435\u0440.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/es\/blog\/news\/toster-vsyo-v-komposter-filtruj-i-kajfuj\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T18:45:16+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T18:45:16+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Toster \u2014 todo en un compostador. Filtra y disfruta | ProHoster","description":"Resulta que en la CEI el recurso ruso de preguntas y respuestas sobre temas de TI \u2014 Toster \u2014 es bastante popular.","canonical_url":"https:\/\/prohoster.info\/es\/blog\/news\/toster-vsyo-v-komposter-filtruj-i-kajfuj","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"es_ES","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0422\u043e\u0441\u0442\u0435\u0440 \u2014 \u0432\u0441\u0451 \u0432 \u043a\u043e\u043c\u043f\u043e\u0441\u0442\u0435\u0440. \u0424\u0438\u043b\u044c\u0442\u0440\u0443\u0439 \u0438 \u043a\u0430\u0439\u0444\u0443\u0439 | ProHoster","og:description":"\u0422\u0430\u043a \u0443\u0436 \u0441\u043b\u043e\u0436\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0432 \u0421\u041d\u0413 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u0435\u043d \u0440\u0443\u0441\u0441\u043a\u0438\u0439 Q&amp;A \u0440\u0435\u0441\u0443\u0440\u0441 \u043f\u043e \u0418\u0422 \u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0435 \u2014 \u0422\u043e\u0441\u0442\u0435\u0440.","og:url":"https:\/\/prohoster.info\/es\/blog\/news\/toster-vsyo-v-komposter-filtruj-i-kajfuj","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T18:45:16+00:00","article:modified_time":"2019-10-31T18:45:16+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"32122","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-21 09:22:23","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 03:04:40","updated":"2026-01-21 09:22:23","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/posts\/32122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/comments?post=32122"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/posts\/32122\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/media?parent=32122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/categories?post=32122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/es\/wp-json\/wp\/v2\/tags?post=32122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}