This is a modified version of the plugin to add the ability to search with commands. It adds the ability to use "{q}" or "%s" when adding new URLs, that will be replaced with terms for web search query when using that command.
Example:
wap add https://duckduckgo.com/?q={q} ddg [default]
When using that command:
wap ddg banana split
Resulting URL used:
https://duckduckgo.com/?q=banana%20split
Another example:
wap add https://time.is/?q={q} time [default]
When using that command:
wap time paris
Resulting URL used:
https://time.is/?q=paris
Yet another example:
wap add https://www.urbandictionary.com/define.php?term={q} ud urban urbandictionary [default]
When using that command:
wap ud snooze
Resulting URL used:
https://www.urbandictionary.com/define.php?term=snooze
Follow the original method to install:
wpm install WebApp launcher
- Open Wox settings
- In the system tray find the Wox Icon
- Right click on it
- Click "Settings"
- Click on the "Plugin" tab
- Find and click "WebApp launcher" in the list on the left
- Click "Plugin directory" on the right
- Exit Wox first
- Download the
WebApp-launcher_Modified_plugin_files_only.zip
- Extract that file over the files in the
WebApp launcher...
folder - Start Wox and add new commands to WebApp launcher as desired, see examples above
Full modified plugin files provided if needed in WebApp-launcher_Full_modified_plugin.zip
A Wox plugin to start url in a "Web app" mode.
Require Chrome installed to work out of the box.
Can be configured to work with another "web app launcher"
Enter the following command to learn wap few url to transform into webapps:
wap add https://maps.google.com/ directions
wap add https://youtube.com/ video google
wap add https://google.com/ search engine
wap add https://bing.com/ microsoft ms search engine
Now search for url:
wap list
You'll see some url:
You can select https://maps.google.com/ and it will start the url using Chrome in WebApp mode:
you can obviously filter on url
wap list google.com
or on keywords
wap list video
or both
wap list google
You don't need to write list
if the query is not ambiguous. All the previous examples may have been written as:
wap google.com
wap video
wap google
If you want to use something else to start your urls as a webapp, you can configure the plugin using wap config
.
Imagine you have a file called mylauncher.exe that can start webapps given an url as argument. You can then type to edit the default profile:
wap config default mylauncher.exe "{0}"
You can also add a new profile named "edge":
wap config edge msedge.exe --app="{0}"
You can list the profiles by typing:
wap config
Then, by selecting a profile, it will auto-complete with current configuration.
wap config default chrome.exe --app="{0}" --profile-directory="Default"
Default configuration is :
wap config default chrome.exe --app="{0}" --profile-directory="Default"
You can use the profiles to open some webapp with Chrome, and other webapp with Edge:
wap config default chrome.exe --app="{0}" --profile-directory="Default"
wap config edge msedge.exe --app="{0}" --profile-directory="Default"
And then the following url will be opened by Chrome (default profile):
wap add https://www.google.com/ search engine google
But the following url will be opened by Edge (edge profile):
wap add https://www.micrsoft.com/ ms [edge]
You can use the profiles to open some webapp with a Chrome profile, and other webapp with another Chrome profile
wap config default chrome.exe --app="{0}" --profile-directory="Default"
wap config pro chrome.exe --app="{0}" --profile-directory="Pro"
And then the following url will be opened by Chrome profile "Default":
wap add https://www.google.com/ search engine google
But the following url will be opened by Chrome profile "Pro" (pro profile):
wap add https://www.micrsoft.com/ ms [pro]
You can use the profiles to open some webapp with standard mode, and other webapp with private/incognito mode
wap config default chrome.exe --app="{0}" --profile-directory="Default"
wap config private chrome.exe --app="{0}" --profile-directory="Default" --incognito
And then the following url will be opened in standard mode:
wap add https://www.google.com/ search engine google
But the following url will be opened in private mode:
wap add https://www.micrsoft.com/ ms [private]