This workflow allows you to open a URL in Google Chrome via Alfred.
https://sw.cowtech.it/alfred-chrome
To trigger the workflow, type chrome
or cr
. Optionally you can add a URL.
Between the results you will a list of profiles to use to open the URL (or simply to open a new window).
If you hold the Alt
key while selecting the result item, the window will be open using incognito mode.
This workflow has been tested on Alfred 3, 4 and 5.
Double click (or open in Alfred settings) the Alfred Chrome.alfredworkflow
file.
If you get the message “alfred-chrome” cannot be opened because the developer cannot be verified.
, then you have to whitelist the execution of the helper:
- Open Alfred preferences.
- Go to workflows.
- Right click (or Alt+Click) on the Alfred Workflow item and select "Open in Finder".
- Inside finder right click (or Alt+Click) on
alfred-chrome
and then select "Open". - You should see a warning from the operating system. Just allow the execution and you're done.
Remove the workflow via Alfred settings.
If you use Canary version of Chrome or similar applications, like Chromium, you can instruct the workflow to use it.
To do it:
- In the Workflows settings, select Alfred Chrome workflow
- Open the
Configure workflow and variables
by clicking on the second icon on right section of the workflow header. - Under the
Workflow Environment Variables
section, create a variable calledALFRED_CHROME_NAME
and enter the same name you see in your Applications folder. - Click on
Save
and you're good to go! :)
Copyright (C) 2013 and above Shogun ([email protected]).
Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit.