Slight Loading Delay With Chrome Extension Popup
For some reason, I have a very small delay when I click my extension before the popup is loaded. It's a 1-2 second hiccup before the popup displays, while all my other extensions d
Solution 1:
I think you can try to add the background
params to the manifest
:
{
...
"background": {
"page": "background.html",
"persistent": true
},
...
}
Of course, need add a simple html file to the extension folder :
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
</head>
<body>
</body>
</html>
Now open the Chrome Extension will be quickly without no delay
.
The background page
will be run all the time
, it is always used to show notification.So we can make use of this feature, need't reopen the Extension which is the main reason of delay
Post a Comment for "Slight Loading Delay With Chrome Extension Popup"