Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

javascript:alert(document.cookie) Does not work in firefox 7 Ubuntu 11.10

  • 4 ответа
  • 10 имеют эту проблему
  • 256 просмотров
  • Последний ответ от tonyinme

more options

I am trying to get the DSID of a web page by typing "javascript:alert(document.cookie)" in the url bar. I am supposed to get a window with the desired output which works fine in chromium. It does nothing in firefox 7 though. Im using Ubuntu 11.10.

Thanks,

Tony

I am trying to get the DSID of a web page by typing "javascript:alert(document.cookie)" in the url bar. I am supposed to get a window with the desired output which works fine in chromium. It does nothing in firefox 7 though. Im using Ubuntu 11.10. Thanks, Tony

Выбранное решение

You can find that here: Firefox > Web Developer > Scratchpad (Shift+F4)

Прочитайте этот ответ в контексте 👍 4

Все ответы (4)

more options

upgrade your browser to Firefox 8 and try

more options

Hello Tony
Running javascript in the url bar is mostly disabled for security reasons. You can use the new feature called Scratchpad instead.

more options

Выбранное решение

You can find that here: Firefox > Web Developer > Scratchpad (Shift+F4)

more options

Thanks, Scratchpad worked just fine!