Last active
December 17, 2015 04:09
-
-
Save mhermans/5548349 to your computer and use it in GitHub Desktop.
Greasemonkey script demonstrating hiding comments by user on dewereldmorgen.be
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 dwm-filter | |
// @include http://www.dewereldmorgen.be/artikels/* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js | |
// @description example script demonstrating how to automagically hide DWM comments of certain users, | |
// ==/UserScript== | |
// select all comments based on author href attribute | |
var comments = $('a[href$="/people/mohamed-talhaoui"]'); | |
// navigate up to parent div, hide comment | |
comments.parent().parent().parent().hide(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment