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

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

  • 4 replies
  • 10 have this problem
  • 160 views
  • Last reply by tonyinme

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

Chosen solution

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

Read this answer in context 👍 4

All Replies (4)

upgrade your browser to Firefox 8 and try

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

Chosen Solution

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

Thanks, Scratchpad worked just fine!