Mozilla サポートの検索

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 件の返信
  • 4 人がこの問題に困っています
  • 9 回表示
  • 最後の返信者: 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

すべての返信 (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: