Advertisement
Guest User

Untitled

a guest
Dec 17th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Fuck Whywhywhywhywhyy
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description try to take over the world!
  6. // @author You
  7. // @match http://poe.trade/search/*
  8. // @grant none
  9. // @run-at document-end
  10. // ==/UserScript==
  11.  
  12. var names = {
  13. "https://www.pathofexile.com/account/view-profile/lolshtar" : true
  14. };
  15.  
  16. (function() {
  17. 'use strict';
  18.  
  19. $("[id^=search-results-] tbody tr:nth-child(2) td:nth-child(2) span ul li:nth-child(3) a").each(function() {
  20. if (names[this.href])
  21. {
  22. console.log("removing " + this.href);
  23. $(this).parent().parent().parent().parent().parent().parent().remove();
  24. }
  25. });
  26. // Your code here...
  27.  
  28. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement