Chrome extension setTimeout not working properly
问题 My first post here =]. I'm building a chrome extension and I'm using a setTimeout recursively. I noticed that if I set it to up to 13secs, it works, but if I set it to 14secs+ it won't work. This is an example which is on my background.js function start() { var timeout = setTimeout( function() { start(); }, 1000*15); alert('test'); } chrome.webNavigation.onCompleted.addListener(function(o) { start(); }, { url: [ {urlContains: 'http://www.example.com/in.php'}, {urlContains: 'http://www.example