I would like to ask whether someone knows a way how you might get a link with a PID of a process that is calling a "website open" request to operating system.
Example:
You click a button in a application that opens default browser with a link that is that application requesting.
I've created a Desktop Entry in linux, which is set as a default "web browser". That entry gets called every time a request like this is initiated, so I can get the link that the application is calling, but not the PID or some identifying information.