I have an Automator Service which uses AppleScript to copy the URL in the front tab of a web browser. Its works without requiring the user to select the URL in the address bar. Thus, it has no input. I don't want to change that behaviour.
Currently the service appears in the Service Menu of all applications. I want the Service to only appear in the Service Menu of web browsers (ie. Safari, Chrome, Firefox etc).
I suppose I could create a separate Service for each web browser but, that seems ridiculous.
Does anyone know of a way to achieve this ?
You would need to declare some kind of input (URLs, web content, etc) in order for the system to know when to list the service.
Thanks. I might be able to find a better way of handling the requirement e.g. a browser-specific script.