setTimeout doesn't seem to work in Chrome
Switch your setTimeout
statement to the following: setTimeout(timeoutTrigger,400);
The one you wrote is for when the function you're calling has a parameter. Also, you're missing a semicolon.
Google has changed the Content Security Policy which impacts using setTimeout() in some browsers. Please read: https://developer.chrome.com/extensions/contentSecurityPolicy