Bitcoin Forum
December 13, 2024, 03:11:50 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Spam Filter Plugin  (Read 130 times)
Thekool1s (OP)
Legendary
*
Offline Offline

Activity: 1512
Merit: 1218


Change is in your hands


View Profile
September 01, 2018, 08:48:21 PM
Last edit: September 05, 2018, 08:31:18 AM by Thekool1s
 #1

I wanted to know can a plugin interact with the page user is on? What I want to accomplish via this plugin is to automatically ignore the users who have received no merit. So E.g A Jr.member with 0 merit should be ignored automatically or via a click. Can something like this be coded on the plugin? Also, how much will it cost to code this out?
OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3696
Merit: 6539



View Profile
September 02, 2018, 06:08:15 PM
 #2

I can't tell you much about the cost but this should be possible otherwise how plugins like Adblock, Stylish etc. work? they clearly have to read the page the user is on.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
TryNinja
Legendary
*
Offline Offline

Activity: 3052
Merit: 7466


Top Crypto Casino


View Profile WWW
September 02, 2018, 06:20:07 PM
 #3

Can something like this be coded on the plugin? Also, how much will it cost to code this out?
Yes. You can make your extension ask permission to read and modify any page or pages of a specific website (e.g: *.bitcointalk.org/*).

It shouldn't cost too much since looks like something simple. I would do it for you but my JS is quite bad.

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Thekool1s (OP)
Legendary
*
Offline Offline

Activity: 1512
Merit: 1218


Change is in your hands


View Profile
September 02, 2018, 09:54:22 PM
 #4

Quote
I can't tell you much about the cost but this should be possible otherwise how plugins like Adblock, Stylish etc. work? they clearly have to read the page the user is on.

Yup, that's it. If Adblock can do this stuff that means the plugins are able to interact with the page. I will check up with some devs on Fiverr. Let's see how much they ask for what appears to be a simple task. If any developer who is reading this post, PM me with your charges for something like this.

Quote
It shouldn't cost too much since looks like something simple. I would do it for you but my JS is quite bad.

No, worries.
Thekool1s (OP)
Legendary
*
Offline Offline

Activity: 1512
Merit: 1218


Change is in your hands


View Profile
September 05, 2018, 08:28:36 AM
 #5

Update.

So, I recently got in touch with a developer. He was able to work on a concept which I provided to him. Here is the prototype in action that he made... https://youtu.be/vp-iS5yN-ro

Basically what it does for now is filter outs all the posts from members who haven't received any merit yet. But I have realized that this isn't the perfect solution. As it could filter out posts which could be merit worthy. Another thing I thought was Instead of filtering out the posts, The plugin could re-arrange the posts on the thread, Where people who have the highest merit will be shown at the top. But then again, if the thread is started by a user who has received no merit, The thread won't make any sense to people using the plugin.

For now, I have asked the developer to work on a system similar to the ignoring one. But it will be a 'smart' one. People who have not received any merit and are sitting on their default merit values will be ignored automatically but Instead of adding users to the ignore list, The plugin will modify their post's text similar to "this user is being ignored". While the user will have the option to read the post anyway. something like this.



I plan to release its code Once its ready. So everyone can compile on their own and no sort of trust is required to run this thing.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!