Page 1 of 1

Fanboy's annoyance list without social blocking?

Posted: Mon Feb 05, 2018 5:07 pm
by jakky567
I understand how social buttons are an annoyance, and to be fair, most of the buttons are to me. But things like logins to leave comments and whatnot are blocked. Is there a separate fanboy's annoyance list than the standard one?

Re: Fanboy's annoyance list without social blocking?

Posted: Mon Feb 05, 2018 5:37 pm
by smed79
jakky567 wrote:Is there a fanboy's annoyance list without social blocking?
Unfortunately not but you still can create your own annoyance list
viewtopic.php?p=96983#p96983
viewtopic.php?f=88&t=36762
jakky567 wrote:things like logins to leave comments and whatnot are blocked.
It's an unexpected behavior. Do you have an example where logins/comments are blocked by "Fanboy's annoyance list"?

Re: Fanboy's annoyance list without social blocking?

Posted: Mon Feb 05, 2018 5:56 pm
by smed79
Below, how to remove Social filters from Fanboy's annoyance list (output file my-annoyance.txt).

# 1st

Download the annoyance list form here https://easylist-downloads.adblockplus. ... oyance.txt
Download the social list from here https://easylist-downloads.adblockplus. ... social.txt

# 2nd

execute the below linux bash command in the terminal

Code: Select all

diff --new-line-format="" --unchanged-line-format="" fanboy-annoyance.txt fanboy-social.txt > my-annoyance.txt
e.g result: https://bpaste.net/raw/84678c92bc25 / [raw text]

---
Note:
For bash commands, If you don't have linux you can use as an alternative "Cygwin" or "win-bash".
For Windows 10, here how to enable the linux bash shell https://www.wikihow.com/Enable-the-Wind ... -for-Linux

Re: Fanboy's annoyance list without social blocking?

Posted: Mon Feb 05, 2018 7:35 pm
by jakky567
Thank you! I'll setup a cron job on my pi to do this!

Re: Fanboy's annoyance list without social blocking?

Posted: Mon Feb 05, 2018 10:38 pm
by LanikSJ
smed79 wrote: Mon Feb 05, 2018 5:56 pm

Code: Select all

diff --new-line-format="" --unchanged-line-format="" fanboy-annoyance.txt fanboy-social.txt > my-annoyance.txt
Or (easier):

Code: Select all

cat fanboy-annoyance.txt fanboy-social.txt > my-annoyance.txt

Re: Fanboy's annoyance list without social blocking?

Posted: Mon Feb 05, 2018 11:58 pm
by diaux
Lanik wrote:Or (easier):

Code: Select all

cat fanboy-annoyance.txt fanboy-social.txt > my-annoyance.txt
"diff" will print differences between the two files. Since fanboy-annoyance contains fanboy-social, diff between both files will print fanboy-annoyance filters without fanboy-social filters.

"cat" on the other end will concatenate both files. Since fanboy-annoyance contains fanboy-social, cat of the two files will leave you with fanboy-social's filters duplicated.

Re: Fanboy's annoyance list without social blocking?

Posted: Tue Feb 06, 2018 1:02 am
by smed79
An example
file1 (annoyance)
aaa
bbb
ccc
xxx
yyy
zzz
file2 (social)
xxx
yyy
zzz
$ diff --new-line-format="" --unchanged-line-format="" file1 file2 > file3
file3 (diff)
aaa
bbb
ccc
$ cat file1 file2 > file3
file3 (cat)
aaa
bbb
ccc
xxx
yyy
zzz
xxx
yyy
zzz
reference:
https://ss64.com/bash/diff.html
https://ss64.com/bash/cat.html

Re: Fanboy's annoyance list without social blocking?

Posted: Tue Feb 06, 2018 1:29 am
by LanikSJ
Ah yes both of you are right. I needed to re-read the OP. :roll: