# Why does my keyboard coding not work (Chrome)?

**URL:** <https://boards.straightdope.com/t/why-does-my-keyboard-coding-not-work-chrome/823556>\
**Category:** Factual Questions\
**Created:** [October 26, 2018, 6:40pm UTC](https://boards.straightdope.com/t/why-does-my-keyboard-coding-not-work-chrome/823556 "2018-10-26T18:40:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaylasdad99](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/kaylasdad99/32/3398_2.png) [@kaylasdad99](https://boards.straightdope.com/u/kaylasdad99)\
**Post date:** [October 26, 2018, 6:40pm UTC](https://boards.straightdope.com/t/why-does-my-keyboard-coding-not-work-chrome/823556/1 "2018-10-26T18:40:03Z")

</div>

I recently switched to Chrome as my browser. Ever since I have noticed a problem with coding.

Normally, when I want to code for italics, bold or underline, I simply hold down the Ctrl key and hit the appropriate letter (I, B, or U). Since I have started using Chrome, the text acts like I didn’t do anything when I use these keystrokes.

How can I make Chrome behave the way I want it to?

---

<div class="post-metadata">

**Author:** ![Melbourne](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@Melbourne](https://boards.straightdope.com/u/Melbourne)\
**Post date:** [October 27, 2018, 11:32am UTC](https://boards.straightdope.com/t/why-does-my-keyboard-coding-not-work-chrome/823556/2 "2018-10-27T11:32:49Z")

</div>

> [@kaylasdad99](#):
>
> I recently switched to Chrome as my browser. Ever since I have noticed a problem with coding.
> 
> Normally, when I want to code for italics, bold or underline, I simply hold down the Ctrl key and hit the appropriate letter (I, B, or U). Since I have started using Chrome, the text acts like I didn’t do anything when I use these keystrokes.
> 
> How can I make Chrome behave the way I want it to?

Not sure it’s possible, and if it is, it looks quite complex. Maybe the ‘kiosk’ setting? (They’ve captured all the control values as shortcuts). It may be that for the Chrome people, the preferred solution is for everyone to re-write their message board software to use new CSS tags to identify text input fields? Or maybe they just think that text input doesn’t need non-printable characters.

You can still mouse click on the B/I/U icons, or type the tags by hand (as I do).

---

<div class="post-metadata">

**Author:** ![ftg](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ftg/32/2801_2.png) [@ftg](https://boards.straightdope.com/u/ftg)\
**Post date:** [October 27, 2018, 1:22pm UTC](https://boards.straightdope.com/t/why-does-my-keyboard-coding-not-work-chrome/823556/3 "2018-10-27T13:22:13Z")

</div>

This happened to me many years ago with Opera. Upgraded to a new version and suddenly ^B/^I etc. didn’t work here. Had to click on the icons to get the font change.

People started posting about this on the Opera users message board. Opera’s response: _crickets_.

One of the signs of the downhill slide of Opera. Eventually they even got rid of the message boards.

I suspect Google’s response to this is also going to be _crickets_.

I don’t understand why browser writers think they don’t have to send all typed characters along. I am typing in a text window. If I type a control character I do _not_ want the browser to grab it and open up the bookmarks pane (for example).

---

<div class="post-metadata">

**Author:** ![kaylasdad99](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/kaylasdad99/32/3398_2.png) [@kaylasdad99](https://boards.straightdope.com/u/kaylasdad99)\
**Post date:** [October 28, 2018, 2:56am UTC](https://boards.straightdope.com/t/why-does-my-keyboard-coding-not-work-chrome/823556/4 "2018-10-28T02:56:37Z")

</div>

> [@Melbourne](#):
>
> You can still mouse click on the B/I/U icons, or type the tags by hand (as I do).

I know this, of course, but being able to skip reaching for the mouse and use keyboard shortcuts instead just seems like something that a Windows-compatible platform should offer.

(I don’t often print from a browser these days, but I suspect Chrome wouldn’t like Ctrl+P either. Grrr.)

---

<div class="post-metadata">

**Author:** ![BigT](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/bigt/32/12044_2.png) [@BigT](https://boards.straightdope.com/u/BigT)\
**Post date:** [October 28, 2018, 5:14am UTC](https://boards.straightdope.com/t/why-does-my-keyboard-coding-not-work-chrome/823556/5 "2018-10-28T05:14:31Z")

</div>

Do you mean on the SDMB? The keyboard shortcuts just don’t work in Chrome. They use some old way of making shortcuts that doesn’t work correctly in Chrome.

Only solution I found was to make a userscript. But since no one ever complained about it, I never bothered releasing it to the public. (Also because I added a lot of other shortcuts, and I’m not sure if those are really the best ones: I copied them from MS Word.)

Ctrl-P does work, but that’s because that’s a browser shortcut, not a vBulletin one.

---

<div class="post-metadata">

**Author:** ![BigT](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/bigt/32/12044_2.png) [@BigT](https://boards.straightdope.com/u/BigT)\
**Post date:** [October 28, 2018, 5:33am UTC](https://boards.straightdope.com/t/why-does-my-keyboard-coding-not-work-chrome/823556/6 "2018-10-28T05:33:01Z")

</div>

The code isn’t super clean, but here’s the Userscript I mentioned:

> **[About | SDMB Editor shortcuts | Userscripts | OpenUserJS](https://openuserjs.org/scripts/BigTSDMB/SDMB_Editor_shortcuts)**
>
> Adds better keyboard shortcuts for the post editor, even on Chrome

You’ll need to install [TamperMonkey from the Chrome store](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en) first to install it.

That should work for Opera as well, but, if not, here’s a special [Opera version of TamperMonkey](https://addons.opera.com/en/extensions/details/tampermonkey-beta/).

It should work in [Firefox’s TamperMonkey](https://addons.mozilla.org/en-US/firefox/addon/tampermonkey/) as well.

---

<div class="post-metadata">

**Author:** ![Melbourne](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@Melbourne](https://boards.straightdope.com/u/Melbourne)\
**Post date:** [October 29, 2018, 1:33am UTC](https://boards.straightdope.com/t/why-does-my-keyboard-coding-not-work-chrome/823556/7 "2018-10-29T01:33:35Z")

</div>

> [@BigT](#):
>
> Do you mean on the SDMB? The keyboard shortcuts just don’t work in Chrome. They use some old way of making shortcuts that doesn’t work correctly in Chrome.

The “old way of making shortcuts” is that the page/server receives the keystrokes that you type. It “doesn’t work correctly” in Chrome, because Chrome captures and swallows what you are typing. It’s not that there is an “new way” of entering or sending information: it’s that you need to specifically disable the Chrome behavior by some method.

There /may/ be a new CSS tag that Chrome recognizes, that automatically disables the Chrome behavior: that would explain why they think their browser behavior doesn’t matter. Or it may be that they are just focused on phones and tablets, and wish to discourage the use of desktop computers.
