I need to get the URL from the Current Firefox Window,
but without creating and installing an Add-on.
Is it possible to do it via Windows' Command Line?
By "Command Line" I mean the Command Prompt of Windows,
and not the Console pane inside Firefox..
So I can run:
firefox.exe -somecommand/parameters
and then get the StdOut
with the String that is the Current URL
I need this for an outside application, that is not an Add-on..
How are you attempting to access the url?
you can always type
window.location.href
into the console?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.