Limit force-reload at launch to https-based pages

Related commit:
- a0a9497b4a
This commit is contained in:
Raymond Hill 2021-12-18 12:24:55 -05:00
parent 7ca2c8a9a7
commit 47680c775d
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 0 deletions

View File

@ -1155,6 +1155,7 @@ const webRequest = {
) { ) {
const tabs = await vAPI.tabs.query({ const tabs = await vAPI.tabs.query({
active: true, active: true,
url: [ 'https://*/*', 'http://*/*' ],
windowType: 'normal', windowType: 'normal',
}); });
for ( const tab of tabs ) { for ( const tab of tabs ) {