We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onContextInvalidated
chrome.runtime.id
sendMessage
storage.local.get()
Promise<undefined>
storage.local.set()
Error: Extension API is being called from a webpage that does not have extension content.
So far the best way to detect context invalidation seems to be:
return isSuccessful(chrome.storage.local.set({isContextInvalidated: undefined}))
The text was updated successfully, but these errors were encountered:
chrome.storage.local.get()
Invalid context type provided
No branches or pull requests
chrome.runtime.id
is still set after context invalidationsendMessage
fails silently (the promise resolves, the callback isn't called)storage.local.get()
returnsPromise<undefined>
storage.local.set()
throws asynchronously withError: Extension API is being called from a webpage that does not have extension content.
So far the best way to detect context invalidation seems to be:
The text was updated successfully, but these errors were encountered: