mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-04-17 05:37:08 +00:00
closes #585: check parse-on-load is enabled first
This commit is contained in:
parent
581cb94a73
commit
0d448f2baa
@ -60,6 +60,11 @@ var Readerable = {
|
||||
if (!(uri.schemeIs("http") || uri.schemeIs("https"))) {
|
||||
return false;
|
||||
}
|
||||
if (!(this.isEnabledForParseOnLoad())) {
|
||||
// TenFourFox issue 585
|
||||
// Do this check here as well.
|
||||
return false;
|
||||
}
|
||||
if (!isBaseUri) {
|
||||
// Sadly, some high-profile pages have false positives, so bail early for those:
|
||||
let asciiHost = uri.asciiHost;
|
||||
|
Loading…
x
Reference in New Issue
Block a user