Page 1 of 1

Blocking Stuff at Rlslog

Posted: Mon Aug 06, 2012 8:46 pm
by Regvard
If you visit rlslog.net, you probably have noticed all-in-one file hoster adds inserted as entries among regular ones. They are always posted by what I assume to be a bot named "Sophie".

My problem is that I can't create a filter for those without blocking all the other entries. Any help will be appreciated.


(If you don't know what I'm talking about, you can visit the site and search "finally", you'll see some sort of idiotic entry name like "FINALLY! NOW YOU CAN DOWNLOAD LIKE CRAZY!!! " "Posted on 06.08.2012 at 16:59 in Offtopic by Sophie" etc."

Thanks in advance.

Re: Blocking Stuff at Rlslog

Posted: Tue Aug 07, 2012 8:17 am
by Hubird
I don't think there is anything ABP can do about that.

Re: Blocking Stuff at Rlslog

Posted: Tue Aug 07, 2012 8:21 am
by vinny86
Don't see anything with fanboy adblock list

Re: Blocking Stuff at Rlslog

Posted: Tue Aug 07, 2012 8:27 am
by Hubird
Tested with Fanboy list and was still able to reproduce.

It is like trying to block / hide a spam post in this forum with ABP, it's just not the right tool for the job.

Re: Blocking Stuff at Rlslog

Posted: Tue Aug 07, 2012 9:43 pm
by mapx

Code: Select all

// ==UserScript==
// @name     hide sophie
// @include  http://www.rlslog.net/*
// @require  http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js
// ==/UserScript==

function addJQuery(callback) {
  var script = document.createElement("script");
  script.setAttribute("src", "http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js");
  script.addEventListener('load', function() {
    var script = document.createElement("script");
    script.textContent = "(" + callback.toString() + ")();";
    document.body.appendChild(script);
  }, false);
  document.body.appendChild(script);
}

// load jQuery and execute the main function
addJQuery(main);

function main() {
$("div.entry")   .show ()
                 .has ("a:contains('Sophie')")
                 .hide ();
}

// load jQuery and execute the main function
addJQuery(main);            
save this as sophie.user.js
use it in your firefox greasemonkey

or in chrome:

drag it and install in your extension page

Re: Blocking Stuff at Rlslog

Posted: Thu Aug 09, 2012 7:49 am
by Regvard
Thanks a lot for the script Mapx.