Doesn't work on pages without any code highlighting because it waits for .hljs
, and the code block does not have the class .s-code-block
.
waitForKeyElements('.hljs', addLineNumbers, false);
Example question/page: https://stackoverflow.com/q/76688458