Blocking Stuff at Rlslog

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
Regvard
Posts: 2
Joined: Mon Aug 06, 2012 8:34 pm

Blocking Stuff at Rlslog

Post 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.
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re: Blocking Stuff at Rlslog

Post by Hubird »

I don't think there is anything ABP can do about that.
User avatar
vinny86
Posts: 735
Joined: Thu Sep 16, 2010 6:17 pm

Re: Blocking Stuff at Rlslog

Post by vinny86 »

Don't see anything with fanboy adblock list
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re: Blocking Stuff at Rlslog

Post 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.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Blocking Stuff at Rlslog

Post 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
Regvard
Posts: 2
Joined: Mon Aug 06, 2012 8:34 pm

Re: Blocking Stuff at Rlslog

Post by Regvard »

Thanks a lot for the script Mapx.
Locked