# Chrome:

1. Press CTRL + SHIFT + J to open the "Console" tab of the Developer Tools (CMD + ALT + J on Macs).

Alternative method:

1. Press either CTRL + SHIFT + I or F12 to open the Developer Tools.

2. Press ESC (or click on "Show console" in the bottom right corner) to slide the console up.

Note: In Chrome's dev tools, there is a "Console" tab. However, a smaller "slide-up" console can be opened while any of the other tabs is active.

Chrome keyboard shortcuts are documented here.

# Safari:

1. Press CTRL + ALT + I to open the Web Inspector.

2. See Chrome's step 2. (Chrome and Safari have pretty much identical dev tools.)

Note: Step 1 only works if the "Show Develop menu in menu bar" check box in the Advanced tab of the Preferences menu is checked!

Safari keyboard shortucts are documented here.

# IE9:

1. Press F12 to open the developer tools.

2. Click the "Console" tab.

Internet Explorer shortcuts are documented here.

# Firefox:

1. Press CTRL + SHIFT + K to open the Web console (COMMAND + ALT + K on Macs).

or, if Firebug is installed (recommended):

1. Press F12 to open Firebug.

2. Click on the "Console" tab.

Firefox keyboard shortcuts are documented here.

# Opera:

1. Press CTRL + SHIFT + I to open Dragonfly.

2. Click on the "Console" tab.

Opera keyboard shortcuts are documented here.

-
For Firefox using firebug would be ideal. Then you would use F12 to open it. –  John Conde Jan 31 '11 at 23:44
@John I thought that Firefox had a built-in JavaScript console, but I'm not so sure anymore. –  Šime Vidas Feb 1 '11 at 0:31
I'm pretty sure it does. But so many people use firebug I'm sure it gets lost in the shuffle. –  John Conde Feb 1 '11 at 0:47
@John Yes, I found it :) –  Šime Vidas Feb 1 '11 at 1:20
@RăzvanPanda Thanks :). I've updated my list. –  Šime Vidas Oct 7 '12 at 12:07

To indirectly reach the Console in Opera (checked on v9.6) the shortcut is CTRL + SHIFT + I while on Safari 5 (on Windows) it is CTRL + ALT + I

I wish all the browser makers could get together to standardize the keyboard shortcuts.

Update: It appears that the REPL tab under the Scripts tab in Opera Dragonfly in Opera 11 is similar to the Console option that was available in previous Opera versions.

I tried this command in REPL with the Google home page open & it executed fine i.e. it hid the Google logo - document.getElementById('logo').style.visibility = 'hidden';

-
CTRL + SHIFT + I will open the dev tools in Opera. But where is the JavaScript console? Where can I input JavaScript code and execute it? –  Šime Vidas Feb 1 '11 at 13:51
CTRL + ALT + I does nothing in my Safari 5 on Windows 7. Can you confirm that it works? –  Šime Vidas Feb 1 '11 at 13:54
That could be because you do not have the Develop menu option enabled. To activate this option, go to Edit > Preferences & in the Advanced tab enable the "Show Develop menu in menu bar" checkbox option. –  mvark Feb 1 '11 at 14:32
That was my problem. Stupid Apple disabling developer features by default. :) Thanks. –  Šime Vidas Feb 10 '11 at 16:59
Yes, that is it. I overlooked that REPL tab at the bottom LOL –  Šime Vidas Feb 21 '11 at 13:11

## protected by John Conde♦Oct 12 '12 at 11:17

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.