Last active
December 22, 2021 16:53
-
-
Save lucgiffon/4ae8f508a20210e73fdecaff09fd2a4d to your computer and use it in GitHub Desktop.
Tampermonkey script to disable comments on various websites
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Disable comments | |
// @description Make reddit comments invisible. | |
// @version 0.1 | |
// @author You | |
// @grant GM_addStyle | |
// @match https://*.reddit.com/* | |
// @match https://*.youtube.com/* | |
// @match https://www.lefigaro.fr/* | |
// @match https://www.linkedin.com/* | |
// ==/UserScript== | |
GM_addStyle(".commentarea { display: none; }"); //reddit | |
GM_addStyle("#comments { display: none; }"); // youtube | |
GM_addStyle(".fig-comments { display: none; }"); // figaro | |
GM_addStyle(".social-details-social-activity, .update-v2-social-activity { display: none; }"); // linkedin | |
console.log('Disabling comments done.'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment