pendingUrl

This commit is contained in:
suziwen 2024-03-14 14:41:57 +08:00
parent a39e5883fc
commit 9dbf5fe955

View File

@ -321,7 +321,7 @@ encodeError = (obj) ->
refreshActivePageIfEnabled = ->
return if localStorage['omega.local.refreshOnProfileChange'] == 'false'
chrome.tabs.query {active: true, lastFocusedWindow: true}, (tabs) ->
url = tabs[0].url or tabs[0].url
url = tabs[0].pendingUrl or tabs[0].url
return if not url
return if url.substr(0, 6) == 'chrome'
return if url.substr(0, 6) == 'about:'