TheLurker

KillTheTwit

Feb 8th, 2013
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name           KillTheTwit
  3. // @include        http://www.exiern.com/*
  4. // @include        http://www.bloomingfaeries.com/*
  5. // ==/UserScript==
  6.  
  7. var results = document.evaluate(
  8.     "//li[div[@class=\"comment-content\"]/div/cite/text()=\"Guesticus\"]",
  9.     document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  10.  
  11. for (var i = 0; i < results.snapshotLength; i++) {
  12.     results.snapshotItem(i).getElementsByClassName('comment-text')[0].textContent = "*** Twit filtered ***";
  13. }
Advertisement
Add Comment
Please, Sign In to add comment