way better plugin hooks system wip

This commit is contained in:
Nick Sweeting
2025-12-28 03:39:59 -08:00
parent a38624a4dd
commit 50e527ec65
156 changed files with 10275 additions and 7149 deletions

View File

@@ -84,9 +84,9 @@ async function main() {
// Install extension
const extension = await installUblockExtension();
// Export extension metadata for chrome_session to load
// Export extension metadata for chrome plugin to load
if (extension) {
// Write extension info to a cache file that chrome_session can read
// Write extension info to a cache file that chrome plugin can read
await fs.promises.mkdir(EXTENSIONS_DIR, { recursive: true });
await fs.promises.writeFile(
cacheFile,

View File

@@ -197,7 +197,7 @@ describe('ublock plugin', () => {
assert.strictEqual(priority, 3);
});
it('should run before chrome_session (priority 20)', () => {
it('should run before chrome (priority 20)', () => {
const extensionPriority = 3;
const chromeSessionPriority = 20;