Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Buscar en Ayuda

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

Add cookies via command line on MacOSX?

  • 1 respuesta
  • 4 tienen este problema
  • 12 visitas
  • Última respuesta de cor-el

more options

Hello all, Is there a simple way to add cookies to Firefox externally? As in is it possible to add cookies to Firefox via the command line on Mac OSX? Is there a way of running Javascript in Firefox via the command line, because if there is than I can use Javascript to add the cookie? I know you can open a website in Firefox via the command line, but I cant seem to run Javascript from the command line.

Thanks!

Adam

Hello all, Is there a simple way to add cookies to Firefox externally? As in is it possible to add cookies to Firefox via the command line on Mac OSX? Is there a way of running Javascript in Firefox via the command line, because if there is than I can use Javascript to add the cookie? I know you can open a website in Firefox via the command line, but I cant seem to run Javascript from the command line. Thanks! Adam

Todas las respuestas (1)

more options

I don't think that you can do this via the command line.
You would have to use an SQLite manager program to edit the cookies.sqlite database file.

You can also look at these extensions for some inspiration if you want to write your own extension: