Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save masterX244/b7a812c14db497e9857615855a54d8c7 to your computer and use it in GitHub Desktop.
Save masterX244/b7a812c14db497e9857615855a54d8c7 to your computer and use it in GitHub Desktop.
TamperMonkey script for sterilizing the DWTF comments section
// ==UserScript==
// @name DailyWTF Comment Cleaner
// @namespace https://github.com/styrofoamboy
// @version 0.2
// @description Sterilize TDWTF Comments
// @author Mike Unfried
// @match http://thedailywtf.com/articles/comments/*
// @grant none
// ==/UserScript==
(function() {
alert("Script moved to https://github.com/masterX244/BlakeyNope");
})();
// ==UserScript==
// @name DailyWTF Comment Cleaner
// @namespace https://github.com/styrofoamboy
// @version 0.2
// @description Sterilize TDWTF Comments. Experimental Edition with untested changes. May not work
// @author Mike Unfried
// @match http://thedailywtf.com/articles/comments/*
// @grant none
// ==/UserScript==
(function() {
alert("Script moved to https://github.com/masterX244/BlakeyNope");
})();
@ChoGGi
Copy link

ChoGGi commented Nov 30, 2016

$(".comments > .comment > div > img").css("display", "none");
to
$(".comments > .comment > div img").css("display", "none");

fakerat is sticking the images in a p now, so that change will block any imgs in any child of a comment

@masterX244
Copy link
Author

https://github.com/masterX244/BlakeyNope
@ChoGGi Moved the script to a real Repo for PRs

@ChoGGi
Copy link

ChoGGi commented Nov 30, 2016

Oh I just use the original CSS, I don't mind the comments so much as the height (and those images).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment