Firefox: revert previous change

Initializing the extension with AddonManager takes too long (at least for
this extension).
When starting the browser, tabs loaded before the extension could, and
because of that, blocking didn't work.
It works better, if it's initialized when the window's DOM is ready.
pull/2/head
Deathamns 10 years ago committed by gorhill
parent 3ce0d0aded
commit dd25e64134

@ -43,10 +43,10 @@ vAPI.firefox = true;
/******************************************************************************/
vAPI.app = location.hash.slice(1).split(',');
// TODO: read these data from somewhere...
vAPI.app = {
name: vAPI.app[0],
version: vAPI.app[1]
name: 'µBlock',
version: '0.8.2.0'
};
/******************************************************************************/

Loading…
Cancel
Save