mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 00:44:14 +01:00
Complete :sanitize and private mode overhaul.
--HG-- rename : common/content/sanitizer.js => common/modules/sanitizer.jsm
This commit is contained in:
@@ -770,7 +770,7 @@ lookup:
|
||||
};
|
||||
|
||||
completion.addUrlCompleter("f", "Local files", function (context, full) {
|
||||
if (!/^\.?\//.test(context.filter))
|
||||
if (/^(\.{0,2}|~)\/|^file:/.test(context.filter))
|
||||
completion.file(context, full);
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user