Closed R-O-BTheRobot closed 1 year ago
Hi,
I would recommend putting some console.log
statements in your code to debug what is going wrong:
Is the queryselector not finding the right elements?
does setting style.display
not hide the elements?
etc.
You can view the console.log messages in the browser console (f12 -> console).
I'm using MS Edge Dev 109.0.1495.2. I use Page Manipulator's JS injections to remove blocked messages from chat.
Discord's blocked messages are all of class "groupStart-3M1gv1". I include this or the shortened version in my JS code, attached below.
The JS injection is Active, has only "discord.com" in the Active Pages field and is Recursively matching websites.
Below, I attach a video of the observed behavior. I also try it with a CSS injection to show that functions properly.
https://user-images.githubusercontent.com/67348603/203663682-2740e151-178d-4e26-a7d8-6287c709735a.mp4