Skip to content

Commit

Permalink
Fixed reading the address bar in Firefox 133.
Browse files Browse the repository at this point in the history
  • Loading branch information
Javi Domínguez committed Nov 30, 2024
1 parent 748b2e1 commit dc18fb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion addon/appModules/firefox.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,10 @@ def script_url(self, gesture):
path = (("id", "nav-bar"), ("id", "identity-box"), ("id", "identity-icon"))
elif ffVersion < 87:
path = (("id", "nav-bar"), ("id", "identity-box"))
elif ffVersion < 133:
path = (("id", "nav-bar"), ("class" ,"urlbar-input-box"), ("id","urlbar-input"))
else:
path = (("id", "nav-bar"), ("class","urlbar-input-box"), ("id","urlbar-input"))
path = (("id","nav-bar"),("id","urlbar"),("class","urlbar-input-box"))
secInfoButton = shared.searchObject(path)
if secInfoButton:
securInfo = secInfoButton.description # This has changed in FF 57. Keeping this line for compatibility with earlier versions.
Expand Down
2 changes: 1 addition & 1 deletion buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def _(arg):
# Translators: Long description to be shown for this add-on on add-on information from add-ons manager
"addon_description": _("""Provides accessibility features for Mozilla Firefox and Thunderbird."""),
# version
"addon_version": "2024.1.2",
"addon_version": "2024.1.3",
# Author(s)
"addon_author": "Javi Dominguez <fjavids@gmail.com>",
# URL for the add-on documentation support
Expand Down

0 comments on commit dc18fb8

Please # to comment.