Skip to content

Commit

Permalink
Firefox regression
Browse files Browse the repository at this point in the history
Include URLs with hyphens in schema
  • Loading branch information
anonymous1184 committed May 17, 2022
1 parent 1f58007 commit e55cca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/Url.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Url_GetAddressBar(oAcc)
{
if (ComObjType(oAcc, "Name") != "IAccessible")
return
if (oAcc.accValue(0) ~= "^(?!file:.+\/Min\/App\/)\w+:")
if (oAcc.accValue(0) ~= "^(?!file:.+\/Min\/App\/)[\w-]+:")
return oAcc
for _,accChild in Acc_Children(oAcc) {
oAcc := Url_GetAddressBar(accChild)
Expand Down

0 comments on commit e55cca1

Please sign in to comment.