-
Notifications
You must be signed in to change notification settings - Fork 8
What is the sites.json file
Grant edited this page Dec 8, 2024
·
3 revisions
The sites.json file holds all the CSS selectors that should be applied to sites.
- The "sites" key defines selectors for individual sites.
- The "catchall_selectors" key defines selectors that apply to any site that isn't in the "sites" block. (more on that below)
- The "excluded_selectors" key defines a few selectors that shouldn't be hidden, mostly for sites that show programming language code blocks that include comments in the code samples.
- The "excluded_sites" defines a few sites for which blocking comments pretty much breaks the site.
Many sites use one of the widespread commenting systems, like Disqus. There's no point in defining the same elements for sites over and over again, so the "catchall_selectors" block handles the most common use-cases. If a site needs to be handled individually, it gets added to the "sites" block.
.o2-display-comments-toggle, .o2-post-comments, .o2-post-comment-controls
#discourse-comments
#disqus_thread, #disqus_thread > iframe
.fb-comments
.gsc-comments, .giscus-frame
#hyvor-talk-view
Let's talk about The A.V. Club switching to Kinja
Kinja is a publishing and commenting platform originally built by and for Gizmodo Media Group. It’s what Jezebel, Deadspin, Lifehacker, Gizmodo, and the other GMG publications use.
.js_comments-iframe, a[data-ga='[[\"Permalink meta\",\"Comment count click\"]]'], #replies
.commentlist
(and blogs running on their platform)
.responsesStreamWrapper
#spotim-specific, #spotIm-conversations-module-wrapper, .spot-im-comments
#vuukle-comments
#comments, #respond, .comments, .respond