niklasb/vimium — comment on commit 9487bbe84b028f72814a057d8090ae4d12c80216
File: lib/utils.js line 101
By int3:

I'd say move every variable into the function. I don't think the function length is a cause for concern -- most of the length is in the comments (and the `longTlds` array), and that could be reduced somewhat by increasing the text wrapping width. IMHO a function is too long only when there's too much logic in it.