Does anyone know how to get the current url and maybe title of the page in the currently active tab or window in Firefox? I didn’t find any documentaions and what I tryd didn’t work.
Here’s what I would do with Safari:
tell application "Safari"
set thisPage to do JavaScript "document.URL" in document 1
end tell
But the same tactic dosnt seem to work with Firefox. Any ideas?