mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 15:08:12 -05:00
pendingUrl
This commit is contained in:
parent
a39e5883fc
commit
9dbf5fe955
@ -321,7 +321,7 @@ encodeError = (obj) ->
|
|||||||
refreshActivePageIfEnabled = ->
|
refreshActivePageIfEnabled = ->
|
||||||
return if localStorage['omega.local.refreshOnProfileChange'] == 'false'
|
return if localStorage['omega.local.refreshOnProfileChange'] == 'false'
|
||||||
chrome.tabs.query {active: true, lastFocusedWindow: true}, (tabs) ->
|
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 not url
|
||||||
return if url.substr(0, 6) == 'chrome'
|
return if url.substr(0, 6) == 'chrome'
|
||||||
return if url.substr(0, 6) == 'about:'
|
return if url.substr(0, 6) == 'about:'
|
||||||
|
Loading…
Reference in New Issue
Block a user