I was testing some HTML code I'm making, and while using the Developer Tools on Google Chrome version 22.0.1229.94 m, I saw the <body>
tag has the attribute cz-shortcut-listen="true"
(which of course is not on my code). What does it mean and why is it showing up? (I tried looking it up in google, but found nothing relevant)
Asked
Active
Viewed 7.1k times
176

DarkAjax
- 15,955
- 11
- 53
- 65
1 Answers
383
It's being added by the Colorzilla browser extension.
https://twitter.com/brianpemberton/status/201455628143689728
-
97It'd be nice if there was a standard prefix for extension injections like `browser-extension-` / `b-ext-` or something. That way, it'd be a lot easier to figure out what's random cruft and what was put there by the page author. I know you can just run a different Chrome user profile that has no extensions installed, but sometimes those very extensions - Colorzilla, even - are really useful for analysing web pages. – iono Feb 28 '13 at 07:12
-
4Write a suggestion to leading browser vendors - that's a good idea – xyhhx Aug 13 '13 at 21:51
-
8@twome @martin `cz-` in `cz-shortcut-listen` is there for `ColorZilla` already. Yeah, however browsers should also take that as a standard protocol for all extensions out there :) – Izhar Aazmi Jul 23 '14 at 14:27
-
8Feels like a data-dash attribute would've been a better choice – EightyOne Unite Jun 03 '15 at 15:53
-
why?... @Stimul8d – ICW Jul 28 '19 at 21:35
-
7I thought it was some kind of *Czech language* compatibility plugin. – adelriosantiago Nov 25 '19 at 03:14
-
3Funny how 8 years later, it still confuses people (probably testing their own code) and will likely continue to do so for many more years. – TheSHEEEP Dec 11 '20 at 08:15