I want to make a bookmarklet that can call an API.
This API requires login to the site, so I must use the right-click option in Firefox developer mode in the Network Monitor tab: "Use as Fetch in Console".
Now I need to be able to call this right-click option with a javascript code and do the rest myself.