Closed Jay-o-Way closed 8 months ago
Suggestion for a different approach: add rules to the browser info. Example JSON:
"Browsers": [
{
"Name": "Firefox",
"ExePath": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"
},
{
"Name": "Google Chrome",
"ExePath": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"
"Rules": ["g$*.google.com", "github.com"]
},
{
"Name": "Microsoft Edge",
"ExePath": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe"
"Rules": ["g$*.microsoft.com"]
}
Suggestion for a different approach: add rules to the browser info.
Rules are made with having its own UI to manage them. But the work on it is halted due to issues with WinAppSdk. I am looking to port that UI to wpf soon.
I want them to be reordered, have prioritized one which the way you suggested doesn't solve
The documentation does not mention the id.
id is also something used by UI, It's optional and I am unaware I pushed it to release version.
At bare minimum, you must link to https://github.com/U-C-S/Hurl/wiki/Auto-Open-Rules, but ideally this info is available in the UI. Note that wiki says "simple text" uses no prefix, but the JSON expects s$
I will include the link to wiki for now and fix it in the wiki, Thanks
Aside from that, it doesn't seem to work for me... Am I doing something wrong?
Honestly, Glob for URLs doesn't work great as I imagined, I will look to create a custom glob-like syntax for URLs
Closing this... Updated the docs and #105
When I click a link and Hurl responds, I want to add a rule for the given website/domain.
s$google.com | g$*.google.com
and more, but I have no idea whats$
org$
mean, or what any other possible/allowed variables are. At bare minimum, you must link to https://github.com/U-C-S/Hurl/wiki/Auto-Open-Rules, but ideally this info is available in the UI. Note that wiki says "simple text" uses no prefix, but the JSON expectss$
.id
.domain.com
and*.domain.com
in one rule?