XJ-Blocker - Chrome plugin for blocking certain users

Started by hefakz
07/06/2020 22:30
Page 1 of 2
hefakz07/06/2020 22:30(edited 07/06/2020 22:33)

Hello everyone.

As a respond to Pez0's statement about the possibility of blocking the content of certain, mostly toxic, users, i decided to implement a small Chrome Extension for this purpose. This is a minimalistic and pragmatic plugin. In the following, i will tell you how to activate the XJ-Blocker in six steps.

1. Download this file and unzip https://gofile.io/d/sIJ92x

2. Go to your browser (atm only Chrome!) and go to this page: chrome://extensions/

3. Switch to the Developer mode and in the left upper corner click on Load unpacked and select the unzipped folder with all files and activate the plugin. https://imgur.com/a/G3EouPH

4.Go to the XJ Page and click on the plugin icon in the upper right corner in your browser and go to the options.

5. Type in the nicknames of users which you would like to block while your sitting. Multiple users are possible if they are separated by a semicolon (;). Also you can choose, where the content should be blocked (shoutbox,forum,both). ATM only shoutbox works. After pressing save, your preferences will be saved. Now you can quit the Developer mode. https://imgur.com/a/8Sju561

6. Enjoy your toxic free XJ experience. https://imgur.com/a/bSQ8yli

Mallee mapper07/06/2020 22:34

Originally posted by hefakz
Hello everyone.

As a respond to Pez0's statement about the possibility of blocking the content of certain, mostly toxic, users, i decided to implement a small Chrome Extension for this purpose. This is a minimalistic and pragmatic plugin. In the following, i will tell you how to activate the XJ-Blocker in six steps.

1. Download this file and unzip https://gofile.io/d/sIJ92x

2. Go to your browser (atm only Chrome!) and go to this page: chrome://extensions/

3. Switch to the Developer mode and in the left upper corner click on Load unpacked and select the unzipped folder with all files and activate the plugin. https://imgur.com/a/G3EouPH

4.Go to the XJ Page and click on the plugin icon in the upper right corner in your browser and go to the options.

5. Type in the nicknames of users which you would like to block while your sitting. Multiple users are possible if they are separated by a semicolon (;). Also you can choose, where the content should be blocked (shoutbox,forum,both). ATM only shoutbox works. After pressing save, your preferences will be saved. Now you can quit the Developer mode. https://imgur.com/a/8Sju561

6. Enjoy your toxic free XJ experience. https://imgur.com/a/bSQ8yli


inbefore: you are a douchebag.

these screenshots are slander

~ the action or crime of making a false spoken statement damaging to a person's reputation.

zythH^ moviemaker07/06/2020 22:55

Originally posted by hefakz
Hello everyone.

As a respond to Pez0's statement about the possibility of blocking the content of certain, mostly toxic, users, i decided to implement a small Chrome Extension for this purpose. This is a minimalistic and pragmatic plugin. In the following, i will tell you how to activate the XJ-Blocker in six steps.

1. Download this file and unzip https://gofile.io/d/sIJ92x

2. Go to your browser (atm only Chrome!) and go to this page: chrome://extensions/

3. Switch to the Developer mode and in the left upper corner click on Load unpacked and select the unzipped folder with all files and activate the plugin. https://imgur.com/a/G3EouPH

4.Go to the XJ Page and click on the plugin icon in the upper right corner in your browser and go to the options.

5. Type in the nicknames of users which you would like to block while your sitting. Multiple users are possible if they are separated by a semicolon (;). Also you can choose, where the content should be blocked (shoutbox,forum,both). ATM only shoutbox works. After pressing save, your preferences will be saved. Now you can quit the Developer mode. https://imgur.com/a/8Sju561

6. Enjoy your toxic free XJ experience. https://imgur.com/a/bSQ8yli


Great work!

Will it update itself on forums after it gets that update?

PeZ007/06/2020 23:05(edited 07/06/2020 23:25)

gg

https://imgur.com/S2YiApK working perfectly
question: do I need to have files in computer? is it not poss to do it without it? :D

hefakz08/06/2020 06:40

For now it's a fast made beta. I am about to implement new stuff in the future and then deploy it as an official extension which updates automatically. So atm you need the files on your PC.

dEMolite mapper09/06/2020 23:53

get it up on github :)

hefakz10/06/2020 08:12

It's already at GitHub, but now i made the repo public.
https://github.com/miwilc/XJ-Blocker

Feel free to brainstorm about features. How about XJ-Dark Theme switcher :P

yahoooo10/06/2020 16:44

https://imgur.com/inqM1E5

working absolutely perfect. Thanks alot.
Possible for smartphone?

hefakz10/06/2020 17:15

@yahoooo, i dont know, how it excactly works with mobile extensions. For the moment not possible then.

I noticed, that the extension stops working after sending a massage on the shoutbox. I will look how to fix it at the weekend.

dEMolite mapper10/06/2020 20:40

Nice thanks, hope i finally learn something new out of it :)

PeZ010/06/2020 22:51

@hefakz if I refresh page messages are visible for like half sec.. is it poss to fix it somehow?

Juice10/06/2020 23:20(edited 10/06/2020 23:20)

Make filtering by user id instead of nickname

hefakz11/06/2020 08:12

@PeZ0 this is just a beta version, i needed like 10 minutes to make it so i didn't make myself much effort. I think, that the performance can be speeded up a little bit, but still, the script has to fetch the whole DOM and find the right places to mask out.

I will try to make it faster. thx for feedback.

@Juice taking a look at the HTML of the shoutbox, i don't really know how this should improve the efficiency. You can commit some changes to the repo if you have a specific idea.

Nokkan11/06/2020 22:55

@hefakz just like you're matching nickname, you can just match the user id from the a tag href

hefakz11/06/2020 23:19

@Nokkan, thanks for the response. I actually know how to implement it and will try it out next weekend. I'm curious if it will make any difference at all.

JocA Banned11/06/2020 23:57

guessing nickname is Unique on the site, so no difference...probably its more professional with id :D

Chichin mapperrecord holder12/06/2020 02:16

Originally posted by JocA
guessing nickname is Unique on the site, so no difference...probably its more professional with id :D


You can request nick change, but not id change. That's the difference

JocA Banned12/06/2020 03:14

oh right, good point. thanks @chinchin

hefakz12/06/2020 07:37(edited 12/06/2020 07:38)

Yes i agree but what about the fact, that if a user blocked 10 guys (fiction) and wants to delete one of them, then he has to iterate through the id numbers to find the right one. It's not convincing me to filter out the contents by id, but i will give it a try. If someone changed the nickname, one can simply update the nickname in the blocked list.

KarLi mapper12/06/2020 15:05

this is dumb in my opinion, why not just ignore that user? i don't get are we humans mentally and emotionally that weak and cant handle this stuff?

=x

Page 1 of 2

Please log in to post replies.