I noticed something very useful w/ Firefox and Mozilla. Once you load a page, you can do a Save As and save a completely and properly locally rendered version of the page to your local machine.
What I'm wondering, are there any command-line options that would let you have firefox load a remote url from the command line and then save it to a given destination? This would make access to the program from PHP very easy, for example.
Seems like the codebase already fully supports the rendering aspect. Just need the options to run from the command line.
Wget is really limited in its full support of css. For the project I'm working on now, just using Mozilla/Firefox to do this would save oodles of development time.
Geuis
Use Mozilla/Firefox from the command line like wget
-
- Posts: 52
- Joined: August 17th, 2005, 3:27 pm
- Contact:
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
-
- Posts: 52
- Joined: August 17th, 2005, 3:27 pm
- Contact:
-
- Posts: 1634
- Joined: November 4th, 2002, 8:34 pm
- Location: Kyoto, Nippon (GMT +9)
- Contact:
-
- Posts: 1
- Joined: March 10th, 2020, 9:09 am
Re: Use Mozilla/Firefox from the command line like wget
Dear geuis,
I know your is now a very old question, but: did you solve it?
I know your is now a very old question, but: did you solve it?
- LIMPET235
- Moderator
- Posts: 39936
- Joined: October 19th, 2007, 1:53 am
- Location: The South Coast of N.S.W. Oz.
Re: Use Mozilla/Firefox from the command line like wget
giopao314,
Please, don't bump these very old threads, as no-one will still be monitoring them.
If you have a problem, start a new thread in the appropriate forum.
Thank you.
Locking due to very old age.
Please, don't bump these very old threads, as no-one will still be monitoring them.
If you have a problem, start a new thread in the appropriate forum.
Thank you.
Locking due to very old age.
[Ancient Amateur Astronomer.]
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.
(Always choose the "Custom" Install.)
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.
(Always choose the "Custom" Install.)