mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
20 lines
366 B
JavaScript
20 lines
366 B
JavaScript
"use strict";
|
|
|
|
extensions.registerSchemaAPI("extension", "addon_parent", context => {
|
|
return {
|
|
extension: {
|
|
get lastError() {
|
|
return context.lastError;
|
|
},
|
|
|
|
isAllowedIncognitoAccess() {
|
|
return Promise.resolve(true);
|
|
},
|
|
|
|
isAllowedFileSchemeAccess() {
|
|
return Promise.resolve(false);
|
|
},
|
|
},
|
|
};
|
|
});
|
|
|