Bitcoin Forum

Bitcoin => Project Development => Topic started by: Thekool1s on September 01, 2018, 08:48:21 PM



Title: Spam Filter Plugin
Post by: Thekool1s on September 01, 2018, 08:48:21 PM
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?


Title: Re: Chrome Plugin Developer's Input needed
Post by: OmegaStarScream on September 02, 2018, 06:08:15 PM
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.


Title: Re: Chrome Plugin Developer's Input needed
Post by: TryNinja on September 02, 2018, 06:20:07 PM
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.


Title: Re: Chrome Plugin Developer's Input needed
Post by: Thekool1s on September 02, 2018, 09:54:22 PM
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.


Title: Spam Filter Plugin
Post by: Thekool1s on September 05, 2018, 08:28:36 AM
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.

https://i.imgur.com/K6nVshq.jpg

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.