Project

General

Profile

« Previous | Next » 

Revision 6b12a034

Added by jahoti about 2 years ago

Refer to the extension consistently as "Hachette" and remove TODOS.org
from the copyright file

View differences:

background/main.js
1 1
/**
2
 * Myext main background script
2
 * Hachette main background script
3 3
 *
4 4
 * Copyright (C) 2021 Wojtek Kosior
5 5
 * Redistribution terms are gathered in the `copyright' file.
......
22 22
start_policy_injector();
23 23
start_page_info_server();
24 24

  
25
async function init_myext(install_details)
25
async function init_ext(install_details)
26 26
{
27 27
    console.log("details:", install_details);
28 28
    if (install_details.reason != "install")
......
44 44
    }
45 45
}
46 46

  
47
browser.runtime.onInstalled.addListener(init_myext);
47
browser.runtime.onInstalled.addListener(init_ext);
48 48

  
49
console.log("hello, myext");
49
console.log("hello, hachette");

Also available in: Unified diff