You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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