mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-22 18:32:45 +01:00
this fixes #948
This commit is contained in:
parent
dec3237991
commit
0f7dc32a5e
@ -2,7 +2,7 @@
|
||||
"manifest_version": 2,
|
||||
|
||||
"name": "uBlock Origin",
|
||||
"version": "1.3.4",
|
||||
"version": "1.3.5",
|
||||
|
||||
"default_locale": "en",
|
||||
"description": "__MSG_extShortDesc__",
|
||||
|
@ -2240,7 +2240,10 @@ vAPI.net.registerListeners = function() {
|
||||
var browser = e.target;
|
||||
|
||||
// I have seen this happens (at startup time)
|
||||
if ( !browser.currentURI ) {
|
||||
// https://github.com/gorhill/uBlock/issues/948
|
||||
// On older version of Firefox, `browser.webNavigation` can be null,
|
||||
// which would cause currentURI to fail.
|
||||
if ( !browser.webNavigation || !browser.currentURI ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
"manifest_version": 2,
|
||||
|
||||
"name": "uBlock Origin",
|
||||
"version": "1.3.4",
|
||||
"version": "1.3.5",
|
||||
|
||||
"default_locale": "en",
|
||||
"description": "__MSG_extShortDesc__",
|
||||
|
Loading…
Reference in New Issue
Block a user