Code by raisaveuc, gurmukhp, bradleyg
Easily find and hide comments based on your tolerance for toxicity.
Comments are scraped from the comment-enabled article in view and then scored using Perspective API's AnalyzeComment request. This data is then shown as a graph of toxicity over time. The idea is that it may be possible to identify trends in the toxicity of comments.
Visit any article that contains comments from the below publishers. Once loaded, click the app icon in the extensions panel to see comments filtered by the default threshold. By sliding the control, the comments in the story will be hidden or shown dependent on the desired toxicity score.
This is example code to help experimentation with the Perspective API; it is not an official Google product.