I would like to create a toggle switch button that will be displayed on web pages using TAMPERMONKEY

Hi to all of you ! thank you in advance for your help

I would like to create a toggle switch button that will be displayed on web pages using TAMPERMONKEY or alternative

the button must be linked to a chrome extension called EditThisCookis

Basically as in the photo I would like to be able to invoke the padlock on the page directly

Thank you for your help !

here is the chrome extension link EditThisCookie - Chrome Web Store

Hey @djow0340693027 welcome to the forums.

Can you share your current code?