Remove popup and sound when taking a screenshot in gnome extension

I described in detail here Getting screenshots and title/application name of a window in ubuntu 22.04 wayland

There is an application that records user activity in the current session, including screenshots. And it should do it quietly, that is, no pop-ups, etc.

on x11 everything works without problems, but on wayland it doesn’t, so I’m trying to transfer this functionality to the gnome extension
@ebassi