mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Firefox: add missing vAPI.onLoadAllCompleted
This commit is contained in:
parent
a07b3a1d3e
commit
16a7bcb3d8
1 changed files with 9 additions and 0 deletions
|
@ -1068,6 +1068,15 @@ vAPI.lastError = function() {
|
|||
|
||||
/******************************************************************************/
|
||||
|
||||
// This is called only once, when everything has been loaded in memory after
|
||||
// the extension was launched. It can be used to inject content scripts
|
||||
// in already opened web pages, to remove whatever nuisance could make it to
|
||||
// the web pages before uBlock was ready.
|
||||
|
||||
vAPI.onLoadAllCompleted = function() {};
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
// clean up when the extension is disabled
|
||||
|
||||
window.addEventListener('unload', function() {
|
||||
|
|
Loading…
Reference in a new issue