Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name BF remove
- // @namespace BF
- // @include /^https?://((www)\.)?banana\.fund(.*)?$/
- // @author facebook.com/igor39
- // @version 1.0
- // @grant none
- // @description BF custom remove
- // ==/UserScript==
- // Remove the 'reply' form of the chat, remove '/**/' for using it.
- /*
- setInterval(function(){
- function del(){if(document.querySelector('form[action^="/messages"]')){var i,x=document.querySelectorAll('form[action^="/messages"]');
- for(i=0;i<x.length;i++){x[i].remove();}console.log('del');}}del();},500);
- */
- // Remove all the messages from a person.
- setInterval(function(){
- if(document.querySelector('td[title="RoidzBBC"]')){
- var i,x=document.querySelectorAll('td[title="RoidzBBC"]');
- for(i=0;i<x.length;i++){x[i].parentElement.remove();}
- }
- // Remove the posts from Quim, where he's talking about "token(s)" or "Join"
- if(document.querySelector('td[title="Quim"]')){
- var i2,x2=document.querySelectorAll('td[title="Quim"]');
- for(i2=0;i2<x2.length;i2++){
- if( /(tokens?|Join)/gi.test( x2[i2].nextSibling.nextSibling.textContent ) ){x2[i2].parentElement.remove();}
- }
- }
- },500);
- // who is selling at the highest level? You will know.
- if(/(trading)/gi.test(location.href)){
- console.log('trading');
- orderDisplayLimit=100; //drawOrderBooks('sell'); drawOrderBooks('buy');
- }
Advertisement
Add Comment
Please, Sign In to add comment