Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox no longer provides a way to get the URL of the frontmost tab or window using AppleScript.

  • No replies
  • 47 have this problem
  • 21 views
more options

Firefox used to provide a way to get the current URL using AppleScript, but it doesn't seem to exist anymore. In the past, I could say:

tell application "Firefox"

   get «class curl» of window 1

end tell

This no longer works.

I looked at the SDEF for Firefox 3.6.10 in TextEdit, and it no longer contains any references to curl -- nor URLs in any form. Compare this with Camino, which permits:

get «class curl» of tab 1 of window 1

Is there any way to get this information from Firefox 3.6.10 using AppleScript?

Firefox used to provide a way to get the current URL using AppleScript, but it doesn't seem to exist anymore. In the past, I could say: tell application "Firefox" get «class curl» of window 1 end tell This no longer works. I looked at the SDEF for Firefox 3.6.10 in TextEdit, and it no longer contains any references to curl -- nor URLs in any form. Compare this with Camino, which permits: get «class curl» of tab 1 of window 1 Is there any way to get this information from Firefox 3.6.10 using AppleScript?

Modified by MleeW