It's some kind of XY Problem. I'll try to keep it short but probably it won't.
I produce a filter list for the user rules part. I make that with a custom browser extension. I want to be able to add (actually edit the same line if possible) that into the user rules programmatically/automatically.
Thanks for your help.
I am using a forum that uses Xenforo. Xenforo has 1000 hard coded ignore limit. I want to exceed that. I don't want to see people. Also I don't want to see some peoples avatars, I'm OK with their messages. My main problem is this.
My first solution is this. I made a custom browser extension with Manifest V3. It currently adds 2 buttons (message and avatar) next to report button of each message. And makes a JavaScript string that some other blocker extension understand. And looks like it's kinda general thing so, I believe AdGuard uses same thing too. But the catch is I can't apply the filter. It had support for .txt file URL's but it doesn't update it instantly. You have to do it manually or wait for the automatic time which is hours long between fetches.
Just in case to confirm it works with AdGuard, the filter is something like this. As you can see down in the photo the authors data-user-id is unique. My extension gets that and turns into;

I made a connection in that blocker extensions background.html. I think I can do that too. Other ones community didn't help much. I hope I can get help from here.
If you have any alternative idea [like hiding those ones in my extension (which I tried but couldn't figure it out on my own)] feel free to share.
My first solution is this. I made a custom browser extension with Manifest V3. It currently adds 2 buttons (message and avatar) next to report button of each message. And makes a JavaScript string that some other blocker extension understand. And looks like it's kinda general thing so, I believe AdGuard uses same thing too. But the catch is I can't apply the filter. It had support for .txt file URL's but it doesn't update it instantly. You have to do it manually or wait for the automatic time which is hours long between fetches.
Just in case to confirm it works with AdGuard, the filter is something like this. As you can see down in the photo the authors data-user-id is unique. My extension gets that and turns into;
forum.adguard.com##a[data-user-id="3968"]:upward(article)

I made a connection in that blocker extensions background.html. I think I can do that too. Other ones community didn't help much. I hope I can get help from here.
If you have any alternative idea [like hiding those ones in my extension (which I tried but couldn't figure it out on my own)] feel free to share.
I produce a filter list for the user rules part. I make that with a custom browser extension. I want to be able to add (actually edit the same line if possible) that into the user rules programmatically/automatically.
Thanks for your help.