Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

Add cookies via command line on MacOSX?

  • 1 odpowiedź
  • 4 osoby mają ten problem
  • 5 wyświetleń
  • Ostatnia odpowiedź od 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

Wszystkie odpowiedzi (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: