Search Support

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 ŋuɖoɖo
  • 4 masɔmasɔ sia le wosi
  • 12 views
  • Nuɖoɖo mlɔetɔ 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

All Replies (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: