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:

README.txt
1
# My extension - Make The Web Great Again! #
1
# Hachette - Make The Web Great Again! #
2 2

  
3 3
This extension's goal is to allow replacing javascript served by websites
4 4
with scripts specified by user. Something like NoScript and Greasemonkey
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");
background/message_server.js
1 1
/**
2
 * Myext message server
2
 * Hachette message server
3 3
 *
4 4
 * Copyright (C) 2021 Wojtek Kosior
5 5
 * Redistribution terms are gathered in the `copyright' file.
background/page_actions_server.js
1 1
/**
2
 * Myext serving of page actions to content scripts
2
 * Hachette serving of page actions to content scripts
3 3
 *
4 4
 * Copyright (C) 2021 Wojtek Kosior
5 5
 * Redistribution terms are gathered in the `copyright' file.
background/policy_injector.js
1 1
/**
2
 * Myext injecting policy to page using webRequest
2
 * Hachette injecting policy to page using webRequest
3 3
 *
4 4
 * Copyright (C) 2021 Wojtek Kosior
5 5
 * Copyright (C) 2021 jahoti
background/settings_query.js
1 1
/**
2
 * Myext querying page settings with regard to wildcard records
2
 * Hachette querying page settings with regard to wildcard records
3 3
 *
4 4
 * Copyright (C) 2021 Wojtek Kosior
5 5
 * Redistribution terms are gathered in the `copyright' file.
background/storage.js
1 1
/**
2
 * Myext storage manager
2
 * Hachette storage manager
3 3
 *
4 4
 * Copyright (C) 2021 Wojtek Kosior
5 5
 * Redistribution terms are gathered in the `copyright' file.
background/storage_server.js
1 1
/**
2
 * Myext storage through connection (server side)
2
 * Hachette storage through connection (server side)
3 3
 *
4 4
 * Copyright (C) 2021 Wojtek Kosior
5 5
 * Redistribution terms are gathered in the `copyright' file.
common/connection_types.js
1 1
/**
2
 * Myext background scripts message connection types "enum"
2
 * Hachette background scripts message connection types "enum"
3 3
 *
4 4
 * Copyright (C) 2021 Wojtek Kosior
5 5
 * Redistribution terms are gathered in the `copyright' file.
common/lock.js
1 1
/**
2
 * Myext lock (aka binary semaphore aka mutex)
2
 * Hachette lock (aka binary semaphore aka mutex)
3 3
 *
4 4
 * Copyright (C) 2021 Wojtek Kosior
5 5
 * Redistribution terms are gathered in the `copyright' file.
common/misc.js
1 1
/**
2
 * Myext miscellaneous operations refactored to a separate file
2
 * Hachette miscellaneous operations refactored to a separate file
3 3
 *
4 4
 * Copyright (C) 2021 Wojtek Kosior
5 5
 * Copyright (C) 2021 jahoti
common/once.js
1 1
/**
2
 * Myext feature initialization promise
2
 * Hachette feature initialization promise
3 3
 *
4 4
 * Copyright (C) 2021 Wojtek Kosior
5 5
 * Redistribution terms are gathered in the `copyright' file.
common/patterns.js
1 1
/**
2
 * Hydrilla/Lernette operations on page url patterns
2
 * Hachette operations on page url patterns
3 3
 *
4 4
 * Copyright (C) 2021 Wojtek Kosior
5 5
 * Redistribution terms are gathered in the `copyright' file.
common/storage_client.js
1 1
/**
2
 * Myext storage through connection (client side)
2
 * Hachette storage through connection (client side)
3 3
 *
4 4
 * Copyright (C) 2021 Wojtek Kosior
5 5
 * Redistribution terms are gathered in the `copyright' file.
common/stored_types.js
1 1
/**
2
 * Myext stored item types "enum"
2
 * Hachette stored item types "enum"
3 3
 *
4 4
 * Copyright (C) 2021 Wojtek Kosior
5 5
 * Redistribution terms are gathered in the `copyright' file.
content/main.js
1 1
/**
2
 * Myext main content script run in all frames
2
 * Hachette main content script run in all frames
3 3
 *
4 4
 * Copyright (C) 2021 Wojtek Kosior
5 5
 * Copyright (C) 2021 jahoti
content/page_actions.js
1 1
/**
2
 * Myext handling of page actions in content scripts
2
 * Hachette handling of page actions in content scripts
3 3
 *
4 4
 * Copyright (C) 2021 Wojtek Kosior
5 5
 * Redistribution terms are gathered in the `copyright' file.
copyright
1 1
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2
Upstream-Name: Myext
2
Upstream-Name: Hachette
3 3
Source: https://git.koszko.org/browser-extension/
4 4

  
5 5
Files: *
......
15 15
   2021 jahoti <jahoti@tilde.team>
16 16
License: GPL-3+-javascript or Alicense-1.0
17 17

  
18
Files: icons/myext.png README.txt TODOS.org copyright
18
Files: icons/hachette.png README.txt copyright
19 19
Copyright: 2021 Wojtek Kosior <koszko@koszko.org>
20 20
License: GPL-3+ or Alicense-1.0 or CC-BY-SA-4.0
21 21

  
html/display-panel.js
1 1
/**
2
 * Myext display panel logic
2
 * Hachette display panel logic
3 3
 *
4 4
 * Copyright (C) 2021 Wojtek Kosior
5 5
 * Redistribution terms are gathered in the `copyright' file.
html/options.html
7 7
<html>
8 8
  <head>
9 9
    <meta charset="utf-8"/>
10
    <title>Myext options</title>
10
    <title>Hachette options</title>
11 11
    <style>
12 12
      input[type="checkbox"], input[type="radio"], .hide, .popup.hide {
13 13
	  display: none;
html/options_main.js
1 1
/**
2
 * Myext HTML options page main script
2
 * Hachette HTML options page main script
3 3
 *
4 4
 * Copyright (C) 2021 Wojtek Kosior
5 5
 * Redistribution terms are gathered in the `copyright' file.
manifest.json
2 2
// Redistribution terms are gathered in the `copyright' file.
3 3
{
4 4
    "manifest_version": 2,
5
    "name": "My extension",
6
    "short_name": "Myext",
5
    "name": "Hachette",
6
    "short_name": "Hachette",
7 7
    "version": "0.0.1",_CHROMIUM_KEY_
8 8
    "author": "various",
9 9
    "description": "Kill the web&js",_GECKO_APPLICATIONS_
10 10
    "icons":{
11
	"64": "icons/myext.png"
11
	"64": "icons/hachette.png"
12 12
    },
13 13
    "permissions": [
14 14
	"contextMenus",
......
24 24
    "browser_action": {
25 25
	"browser_style": true,
26 26
	"default_icon": {
27
	    "64": "icons/myext.png"
27
	    "64": "icons/hachette.png"
28 28
	},
29
	"default_title": "Myext",
29
	"default_title": "Hachette",
30 30
	"default_popup": "html/display-panel.html"
31 31
    },
32 32
    "options_ui": {

Also available in: Unified diff