Firefox no longer provides a way to get the URL of the frontmost tab or window 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?
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