Refresh extension page in a new tab #125
sankarkumar23
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In background.js I have the below code. Note: I do not have popup.html page in my extension
chrome.action.onClicked.addListener(function(activeTab)
{
var newURL = "index.html";
chrome.tabs.create({ url: newURL });
});
When I click on the extension icon the page is loading up correctly in new tab. This page is not reloading automatically with code change.. I am forced to refresh.
chrome-extension:///index.html
Is there any trick to get this page also refreshed automatically?
Beta Was this translation helpful? Give feedback.
All reactions