Report from user: "Try something like this: document.querySelector(""#:foo"") You get ""SYNTAX_ERR: DOM Exception 12"". Tell me that it was a problem parsing the selector. Ideally, tell me what part of the selector failed to parse."
This has improved quite a bit.