to see that behavior, try the next minimal working example script: %SCRIPT var Interval...
documents.length not updated within a script running as a background script.
thanks. the setTimeout and registerAsBackgroundScript worked well. i posted the working...