|
@ -21,13 +21,15 @@ |
|
|
|
|
|
|
|
|
/******************************************************************************/ |
|
|
/******************************************************************************/ |
|
|
|
|
|
|
|
|
|
|
|
var locationChangeListener; // Keep alive while frameScript is alive
|
|
|
|
|
|
|
|
|
(function() { |
|
|
(function() { |
|
|
|
|
|
|
|
|
'use strict'; |
|
|
'use strict'; |
|
|
|
|
|
|
|
|
/******************************************************************************/ |
|
|
/******************************************************************************/ |
|
|
|
|
|
|
|
|
let {contentObserver} = Components.utils.import( |
|
|
|
|
|
|
|
|
let {contentObserver, LocationChangeListener} = Components.utils.import( |
|
|
Components.stack.filename.replace('Script', 'Module'), |
|
|
Components.stack.filename.replace('Script', 'Module'), |
|
|
null |
|
|
null |
|
|
); |
|
|
); |
|
@ -54,6 +56,8 @@ let onLoadCompleted = function() { |
|
|
|
|
|
|
|
|
addMessageListener('ublock-load-completed', onLoadCompleted); |
|
|
addMessageListener('ublock-load-completed', onLoadCompleted); |
|
|
|
|
|
|
|
|
|
|
|
locationChangeListener = new LocationChangeListener(docShell); |
|
|
|
|
|
|
|
|
/******************************************************************************/ |
|
|
/******************************************************************************/ |
|
|
|
|
|
|
|
|
})(); |
|
|
})(); |
|
|