1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-07 03:12:33 +01:00

not all schemes are "external"

This commit is contained in:
gorhill 2015-06-08 12:26:14 -04:00
parent 674d69004b
commit 93ec8ac55d

View File

@ -54,7 +54,7 @@ var oneDay = 24 * oneHour;
var projectRepositoryRoot = µBlock.projectServerRoot; var projectRepositoryRoot = µBlock.projectServerRoot;
var nullFunc = function() {}; var nullFunc = function() {};
var reIsExternalPath = /^[a-z]+:\/\//; var reIsExternalPath = /^(file|ftps?|https?):\/\//;
var reIsUserPath = /^assets\/user\//; var reIsUserPath = /^assets\/user\//;
var reIsCachePath = /^cache:\/\//; var reIsCachePath = /^cache:\/\//;
var lastRepoMetaTimestamp = 0; var lastRepoMetaTimestamp = 0;