Alfred workflow for Chromium browsers
This workflow originated from alfred-chrome-workflow.
The previous workflow has several installation issues like this.
In addition to resolving installation issues, this workflow provides several following benefits over the previous one.
The prerequisites below are required to use that package.
Currently supported browsers are as follows.
This workflow assumes your browser is Chrome
at default.
You can switch the browser with ch browser
.
Download alfred-chromium-workflow.alfredworkflow
on the Release page and double click the file to add to Alfred.
The executable is not code-signed so manual verification of the executable is required to run Alfred commands. From the Alfred Preferences' Workflows tab, right-click alfred-chromium-workflow
in the left nav, and select "Open in Finder". Find and right-click the alfred-chromium-workflow
executable, then click "Open" (do not simply double-click the file). You will be presented with a modal dialog that reads "macOS cannot verify the developer of βalfred-chromium-workflowβ. Are you sure you want to open it?" - click Open. The warning will no longer appear during workflow usage.
Note that if your browser is not the default browser (Chrome
), you need to switch your browser through ch browser
first.
Register your customized hotkeys if you need to.
Note : This workflow may not work on Intel Macs in versions 0.3.0 and above.
Retrieve bookmarks.
Retrieve bookmark folders.
Retrieve visit histories.
Append word starting with #
to retrieve only the logs in that domain.
Example:
chh #github [foo bar]
Retrieve download histories.
Retrieve download histories but only show existing files.
Retrieve your search histories.
Append word starting with #
to retrieve only the logs in that domain.
Example:
chs #github [foo bar]
Retrieve autofill data.
Press enter with option key to paste the value directly.
Retrieve login data (like email).
Press enter with option key to paste the value directly.
Open new window through selected profile.
If you change your profile through ch profile
, other commands try to work with the previously opened window.
This command would be useful in such a case.
Open new window with changed profile before the command.
Search opened tabs and focus, close them.
Tabs are sorted by their domain.
Switch browsers with ease.
This command also let you change the browser profile after changing the browser.
Switch profiles with ease.
Tip: You can check what is your Browser's profile's name in chrome://version
.
Provides several useful helper features.
Configure below options through Workflow Environment Variables
.
Browser's profile name.
You don't need to change this value manually.
Instead, you can change this value through ch profile
with ease.
List up your custom profile names if there are.
This could be useful when you have profiles in customized locations.
You can switch your profile through ch profile
with Profile {number}
, Default
and these values.
Each profile name should be splited with comma (,
).
This is used to provide localized subtitles.
Refer to the following page for seeing supported locales.
https://github.com/klauspost/lctime/tree/master/internal/locales
Browser name.
You don't need to change this value manually.
Instead, you can change this value through ch browser
with ease.
Max number of items to show in Alfred.
But the maximum count limit is limited to 200
regardless of its value to prevent truncating json string.
Contributions of any kind are welcome.
This workflow needs help to support as many browsers as possible.
To add new browser, please follow below guideline.
Chromium
.GetProfileRootPath
in src/utils.go
.getApplicationName
in src/tabManager.go
. You can check this value through Applescript Editor's Dictionary.Open URL
block of info.plist
using Alfred.SelectBrowser
in src/config.go
.READMD.md
.assets/browser-icons
.You may also consider below workflows interesting.
MIT Β© jopemachine