
If you know a way to eliminate this code and just use an onclick that would be great too, but I tried onclick="location.reload() " but it doesn't work because it isn't fetching the actual tab but just the popup page.īackground.html. Click on the tab you want to kill, and then click End.


Here is my code I am trying to refresh the page. Then open Chrome’s Task Manager (from the Window menu up top) to see all of the processestabs and extensionsthat Chrome is running. This is a very simple way to close the Chrome browser. Using Exit feature By hotkey Using Close All Tabs Chrome extension. (NOTE: The reason is because I loaded a script and I needed the page to refresh because presently I just have a disclaimer"you need to refresh the page for it to work", but I would like to remove this disclaimer and just have it done automatically). Close all opened browser tabs at once in Chrome. You must declare the "tabs" permission in your manifest if you require access to the url, pendingUrl, title, or favIconUrl properties of am trying to click on a button to refresh the current page from within a chrome extension.

When requested, a windows.Window will contain an array of tabs.Tab objects.
