summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <wk@koszkonutek-tmp.pl.eu.org>2021-06-14 17:13:08 +0200
committerWojtek Kosior <wk@koszkonutek-tmp.pl.eu.org>2021-06-14 17:13:08 +0200
commit6bae771df7b238f8ef4e992660e911fb5808299c (patch)
tree3453b78d0cbd2a25f4d92b91844c4c73be1110d1
parent0c362e6c713b29680d83f8bbdca190540cbc9424 (diff)
downloadbrowser-extension-6bae771df7b238f8ef4e992660e911fb5808299c.tar.gz
browser-extension-6bae771df7b238f8ef4e992660e911fb5808299c.zip
change licenses
-rw-r--r--COPYING.txt4
-rw-r--r--background/background.html22
-rw-r--r--background/main.js31
-rw-r--r--background/message_server.js31
-rw-r--r--background/page_actions_server.js31
-rw-r--r--background/policy_smuggler.js31
-rw-r--r--background/reverse_use_info.js31
-rw-r--r--background/settings_query.js31
-rw-r--r--background/storage.js31
-rw-r--r--background/storage_server.js31
-rw-r--r--common/browser.js31
-rw-r--r--common/connection_types.js31
-rw-r--r--common/gen_unique.js31
-rw-r--r--common/lock.js31
-rw-r--r--common/once.js31
-rw-r--r--common/storage_client.js31
-rw-r--r--common/stored_types.js21
-rw-r--r--common/url_item.js31
-rw-r--r--content/main.js21
-rw-r--r--content/page_actions.js31
-rw-r--r--html/display-panel.html22
-rw-r--r--html/display-panel.js31
-rw-r--r--html/options.html22
-rw-r--r--html/options_main.js21
-rw-r--r--licenses/0bsd.txt12
-rw-r--r--licenses/asshole.txt32
-rw-r--r--manifest.json21
27 files changed, 567 insertions, 158 deletions
diff --git a/COPYING.txt b/COPYING.txt
index 109c665..2b10482 100644
--- a/COPYING.txt
+++ b/COPYING.txt
@@ -1,4 +1,6 @@
The extension can be redistributed under the terms of GPLv3+.
Certain parts are available under more permissive licenses.
+Parts autored by Wojtek Kosior are additionally available under
+the Asshole license 1.0.
-See licenses/ directry for legal legal texts.
+See licenses/ directory for legal texts.
diff --git a/background/background.html b/background/background.html
index aac8ec8..b3e8010 100644
--- a/background/background.html
+++ b/background/background.html
@@ -1,4 +1,26 @@
<!DOCTYPE html>
+<!--
+ Copyright (C) 2021 Wojtek Kosior
+
+ This code is dual-licensed under:
+ - Asshole license 1.0,
+ - GPLv3 or (at your option) any later version
+
+ "dual-licensed" means you can choose the license you prefer.
+
+ This code is released under a permissive license because I disapprove of
+ copyright and wouldn't be willing to sue a violator. Despite not putting
+ this code under copyleft (which is also kind of copyright), I do not want
+ it to be made proprietary. Hence, the permissive alternative to GPL is the
+ Asshole license 1.0 that allows me to call you an asshole if you use it.
+ This means you're legally ok regardless of how you utilize this code but if
+ you make it into something nonfree, you're an asshole.
+
+ You should have received a copy of both GPLv3 and Asshole license 1.0
+ together with this code. If not, please see:
+ - https://www.gnu.org/licenses/gpl-3.0.en.html
+ - https://koszko.org/asshole-license.txt
+ -->
<html lang="en">
<head>
<meta charset="utf-8">
diff --git a/background/main.js b/background/main.js
index 6656284..4af7aa0 100644
--- a/background/main.js
+++ b/background/main.js
@@ -1,12 +1,27 @@
/**
-* Myext main background script
-*
-* Copyright (C) 2021 Wojtek Kosior
-*
-* Dual-licensed under:
-* - 0BSD license
-* - GPLv3 or (at your option) any later version
-*/
+ * Myext main background script
+ *
+ * Copyright (C) 2021 Wojtek Kosior
+ *
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
+ */
"use strict";
diff --git a/background/message_server.js b/background/message_server.js
index 612be0c..84bf518 100644
--- a/background/message_server.js
+++ b/background/message_server.js
@@ -1,12 +1,27 @@
/**
-* Myext message server
-*
-* Copyright (C) 2021 Wojtek Kosior
-*
-* Dual-licensed under:
-* - 0BSD license
-* - GPLv3 or (at your option) any later version
-*/
+ * Myext message server
+ *
+ * Copyright (C) 2021 Wojtek Kosior
+ *
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
+ */
"use strict";
diff --git a/background/page_actions_server.js b/background/page_actions_server.js
index f96b659..4146fcd 100644
--- a/background/page_actions_server.js
+++ b/background/page_actions_server.js
@@ -1,12 +1,27 @@
/**
-* Myext serving of page actions to content scripts
-*
-* Copyright (C) 2021 Wojtek Kosior
-*
-* Dual-licensed under:
-* - 0BSD license
-* - GPLv3 or (at your option) any later version
-*/
+ * Myext serving of page actions to content scripts
+ *
+ * Copyright (C) 2021 Wojtek Kosior
+ *
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
+ */
"use strict";
diff --git a/background/policy_smuggler.js b/background/policy_smuggler.js
index ad8d565..546d771 100644
--- a/background/policy_smuggler.js
+++ b/background/policy_smuggler.js
@@ -1,12 +1,27 @@
/**
-* Myext smuggling policy to content script through url
-*
-* Copyright (C) 2021 Wojtek Kosior
-*
-* Dual-licensed under:
-* - 0BSD license
-* - GPLv3 or (at your option) any later version
-*/
+ * Myext smuggling policy to content script through url
+ *
+ * Copyright (C) 2021 Wojtek Kosior
+ *
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
+ */
"use strict";
diff --git a/background/reverse_use_info.js b/background/reverse_use_info.js
index c51d06b..f609ebe 100644
--- a/background/reverse_use_info.js
+++ b/background/reverse_use_info.js
@@ -1,12 +1,27 @@
/**
-* Myext scripts and bags usage index
-*
-* Copyright (C) 2021 Wojtek Kosior
-*
-* Dual-licensed under:
-* - 0BSD license
-* - GPLv3 or (at your option) any later version
-*/
+ * Myext scripts and bags usage index
+ *
+ * Copyright (C) 2021 Wojtek Kosior
+ *
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
+ */
"use strict";
diff --git a/background/settings_query.js b/background/settings_query.js
index 9101913..d214001 100644
--- a/background/settings_query.js
+++ b/background/settings_query.js
@@ -1,12 +1,27 @@
/**
-* Myext querying page settings with regard to wildcard records
-*
-* Copyright (C) 2021 Wojtek Kosior
-*
-* Dual-licensed under:
-* - 0BSD license
-* - GPLv3 or (at your option) any later version
-*/
+ * Myext querying page settings with regard to wildcard records
+ *
+ * Copyright (C) 2021 Wojtek Kosior
+ *
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
+ */
"use strict";
diff --git a/background/storage.js b/background/storage.js
index 5578109..40e9b41 100644
--- a/background/storage.js
+++ b/background/storage.js
@@ -1,12 +1,27 @@
/**
-* Myext storage manager
-*
-* Copyright (C) 2021 Wojtek Kosior
-*
-* Dual-licensed under:
-* - 0BSD license
-* - GPLv3 or (at your option) any later version
-*/
+ * Myext storage manager
+ *
+ * Copyright (C) 2021 Wojtek Kosior
+ *
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
+ */
"use strict";
diff --git a/background/storage_server.js b/background/storage_server.js
index a4b292c..e9396e8 100644
--- a/background/storage_server.js
+++ b/background/storage_server.js
@@ -1,12 +1,27 @@
/**
-* Myext storage through connection (server side)
-*
-* Copyright (C) 2021 Wojtek Kosior
-*
-* Dual-licensed under:
-* - 0BSD license
-* - GPLv3 or (at your option) any later version
-*/
+ * Myext storage through connection (server side)
+ *
+ * Copyright (C) 2021 Wojtek Kosior
+ *
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
+ */
"use strict";
diff --git a/common/browser.js b/common/browser.js
index d1aab82..653b27f 100644
--- a/common/browser.js
+++ b/common/browser.js
@@ -1,12 +1,27 @@
/**
-* Myext WebExtension API access normalization
-*
-* Copyright (C) 2021 Wojtek Kosior
-*
-* Dual-licensed under:
-* - 0BSD license
-* - GPLv3 or (at your option) any later version
-*/
+ * Myext WebExtension API access normalization
+ *
+ * Copyright (C) 2021 Wojtek Kosior
+ *
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
+ */
"use strict";
diff --git a/common/connection_types.js b/common/connection_types.js
index a01a777..47d4be8 100644
--- a/common/connection_types.js
+++ b/common/connection_types.js
@@ -1,12 +1,27 @@
/**
-* Myext background scripts message connection types "enum"
-*
-* Copyright (C) 2021 Wojtek Kosior
-*
-* Dual-licensed under:
-* - 0BSD license
-* - GPLv3 or (at your option) any later version
-*/
+ * Myext background scripts message connection types "enum"
+ *
+ * Copyright (C) 2021 Wojtek Kosior
+ *
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
+ */
"use strict";
diff --git a/common/gen_unique.js b/common/gen_unique.js
index 920426b..3bfafa9 100644
--- a/common/gen_unique.js
+++ b/common/gen_unique.js
@@ -1,12 +1,27 @@
/**
-* Myext generating unique, per-site hash
-*
-* Copyright (C) 2021 Wojtek Kosior
-*
-* Dual-licensed under:
-* - 0BSD license
-* - GPLv3 or (at your option) any later version
-*/
+ * Myext generating unique, per-site hash
+ *
+ * Copyright (C) 2021 Wojtek Kosior
+ *
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
+ */
"use strict";
diff --git a/common/lock.js b/common/lock.js
index 107287f..a26c0e5 100644
--- a/common/lock.js
+++ b/common/lock.js
@@ -1,12 +1,27 @@
/**
-* Myext lock (aka binary semaphore aka mutex)
-*
-* Copyright (C) 2021 Wojtek Kosior
-*
-* Dual-licensed under:
-* - 0BSD license
-* - GPLv3 or (at your option) any later version
-*/
+ * Myext lock (aka binary semaphore aka mutex)
+ *
+ * Copyright (C) 2021 Wojtek Kosior
+ *
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
+ */
/*
* Javascript runs single-threaded, with an event loop. Because of that,
diff --git a/common/once.js b/common/once.js
index 1842a47..23cf874 100644
--- a/common/once.js
+++ b/common/once.js
@@ -1,12 +1,27 @@
/**
-* Myext feature initialization promise
-*
-* Copyright (C) 2021 Wojtek Kosior
-*
-* Dual-licensed under:
-* - 0BSD license
-* - GPLv3 or (at your option) any later version
-*/
+ * Myext feature initialization promise
+ *
+ * Copyright (C) 2021 Wojtek Kosior
+ *
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
+ */
"use strict";
diff --git a/common/storage_client.js b/common/storage_client.js
index f1ae272..ebf9d2c 100644
--- a/common/storage_client.js
+++ b/common/storage_client.js
@@ -1,12 +1,27 @@
/**
-* Myext storage through connection (client side)
-*
-* Copyright (C) 2021 Wojtek Kosior
-*
-* Dual-licensed under:
-* - 0BSD license
-* - GPLv3 or (at your option) any later version
-*/
+ * Myext storage through connection (client side)
+ *
+ * Copyright (C) 2021 Wojtek Kosior
+ *
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
+ */
"use strict";
diff --git a/common/stored_types.js b/common/stored_types.js
index 31254a9..f204658 100644
--- a/common/stored_types.js
+++ b/common/stored_types.js
@@ -3,9 +3,24 @@
*
* Copyright (C) 2021 Wojtek Kosior
*
- * Dual-licensed under:
- * - 0BSD license
- * - GPLv3 or (at your option) any later version
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.Copyright
*/
/*
diff --git a/common/url_item.js b/common/url_item.js
index 7850871..8dabe48 100644
--- a/common/url_item.js
+++ b/common/url_item.js
@@ -1,12 +1,27 @@
/**
-* Myext stripping url from query and target
-*
-* Copyright (C) 2021 Wojtek Kosior
-*
-* Dual-licensed under:
-* - 0BSD license
-* - GPLv3 or (at your option) any later version
-*/
+ * Myext stripping url from query and target
+ *
+ * Copyright (C) 2021 Wojtek Kosior
+ *
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
+ */
"use strict";
diff --git a/content/main.js b/content/main.js
index 507a740..23f7f66 100644
--- a/content/main.js
+++ b/content/main.js
@@ -3,9 +3,24 @@
*
* Copyright (C) 2021 Wojtek Kosior
*
- * Dual-licensed under:
- * - 0BSD license
- * - GPLv3 or (at your option) any later version
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
*/
"use strict";
diff --git a/content/page_actions.js b/content/page_actions.js
index eee0599..30746c4 100644
--- a/content/page_actions.js
+++ b/content/page_actions.js
@@ -1,12 +1,27 @@
/**
-* Myext handling of page actions in content scripts
-*
-* Copyright (C) 2021 Wojtek Kosior
-*
-* Dual-licensed under:
-* - 0BSD license
-* - GPLv3 or (at your option) any later version
-*/
+ * Myext handling of page actions in content scripts
+ *
+ * Copyright (C) 2021 Wojtek Kosior
+ *
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
+ */
"use strict";
diff --git a/html/display-panel.html b/html/display-panel.html
index 4adeb53..2868cc8 100644
--- a/html/display-panel.html
+++ b/html/display-panel.html
@@ -1,4 +1,26 @@
<!doctype html>
+<!--
+ Copyright (C) 2021 Wojtek Kosior
+
+ This code is dual-licensed under:
+ - Asshole license 1.0,
+ - GPLv3 or (at your option) any later version
+
+ "dual-licensed" means you can choose the license you prefer.
+
+ This code is released under a permissive license because I disapprove of
+ copyright and wouldn't be willing to sue a violator. Despite not putting
+ this code under copyleft (which is also kind of copyright), I do not want
+ it to be made proprietary. Hence, the permissive alternative to GPL is the
+ Asshole license 1.0 that allows me to call you an asshole if you use it.
+ This means you're legally ok regardless of how you utilize this code but if
+ you make it into something nonfree, you're an asshole.
+
+ You should have received a copy of both GPLv3 and Asshole license 1.0
+ together with this code. If not, please see:
+ - https://www.gnu.org/licenses/gpl-3.0.en.html
+ - https://koszko.org/asshole-license.txt
+ -->
<html>
<head>
<meta charset="utf-8"/>
diff --git a/html/display-panel.js b/html/display-panel.js
index 91b0df7..00971a1 100644
--- a/html/display-panel.js
+++ b/html/display-panel.js
@@ -1,12 +1,27 @@
/**
-* Myext display panel logic
-*
-* Copyright (C) 2021 Wojtek Kosior
-*
-* Dual-licensed under:
-* - 0BSD license
-* - GPLv3 or (at your option) any later version
-*/
+ * Myext display panel logic
+ *
+ * Copyright (C) 2021 Wojtek Kosior
+ *
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
+ */
"use strict";
diff --git a/html/options.html b/html/options.html
index ac6c736..21ece29 100644
--- a/html/options.html
+++ b/html/options.html
@@ -1,4 +1,26 @@
<!doctype html>
+<!--
+ Copyright (C) 2021 Wojtek Kosior
+
+ This code is dual-licensed under:
+ - Asshole license 1.0,
+ - GPLv3 or (at your option) any later version
+
+ "dual-licensed" means you can choose the license you prefer.
+
+ This code is released under a permissive license because I disapprove of
+ copyright and wouldn't be willing to sue a violator. Despite not putting
+ this code under copyleft (which is also kind of copyright), I do not want
+ it to be made proprietary. Hence, the permissive alternative to GPL is the
+ Asshole license 1.0 that allows me to call you an asshole if you use it.
+ This means you're legally ok regardless of how you utilize this code but if
+ you make it into something nonfree, you're an asshole.
+
+ You should have received a copy of both GPLv3 and Asshole license 1.0
+ together with this code. If not, please see:
+ - https://www.gnu.org/licenses/gpl-3.0.en.html
+ - https://koszko.org/asshole-license.txt
+ -->
<html>
<head>
<meta charset="utf-8"/>
diff --git a/html/options_main.js b/html/options_main.js
index fff0c82..03c5ca8 100644
--- a/html/options_main.js
+++ b/html/options_main.js
@@ -3,9 +3,24 @@
*
* Copyright (C) 2021 Wojtek Kosior
*
- * Dual-licensed under:
- * - 0BSD license
- * - GPLv3 or (at your option) any later version
+ * This code is dual-licensed under:
+ * - Asshole license 1.0,
+ * - GPLv3 or (at your option) any later version
+ *
+ * "dual-licensed" means you can choose the license you prefer.
+ *
+ * This code is released under a permissive license because I disapprove of
+ * copyright and wouldn't be willing to sue a violator. Despite not putting
+ * this code under copyleft (which is also kind of copyright), I do not want
+ * it to be made proprietary. Hence, the permissive alternative to GPL is the
+ * Asshole license 1.0 that allows me to call you an asshole if you use it.
+ * This means you're legally ok regardless of how you utilize this code but if
+ * you make it into something nonfree, you're an asshole.
+ *
+ * You should have received a copy of both GPLv3 and Asshole license 1.0
+ * together with this code. If not, please see:
+ * - https://www.gnu.org/licenses/gpl-3.0.en.html
+ * - https://koszko.org/asshole-license.txt
*/
"use strict";
diff --git a/licenses/0bsd.txt b/licenses/0bsd.txt
deleted file mode 100644
index c5dc48b..0000000
--- a/licenses/0bsd.txt
+++ /dev/null
@@ -1,12 +0,0 @@
- 0BSD LICENSE
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/licenses/asshole.txt b/licenses/asshole.txt
new file mode 100644
index 0000000..3e7e03c
--- /dev/null
+++ b/licenses/asshole.txt
@@ -0,0 +1,32 @@
+Asshole license 1.0
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. You agree that you're an asshole.
+2. You agree for the copyright owner of this software/work to call you an
+ asshole, both privately and publicly.
+3. You agree and promise not to sue the copyright owner of this
+ software/work nor anyone acting on behalf of the copyright owner of this
+ software/work for calling you an asshole.
+4. You agree and promise not to sue the copyright owner of this
+ software/work, nor anyone acting on behalf of the copyright owner of this
+ software/work, in relation with reverse-engineering actions performed on
+ your software/products.
+5. You agree and promise not issue DMCA claims against any software
+ developed and/or distributed by the copyright owner of this
+ software/work or anyone acting on behalf of the copyright owner of this
+ software/work. Should such claims happen regardless, they will be
+ automatically void.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
diff --git a/manifest.json b/manifest.json
index aade4ac..d3a5980 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,3 +1,24 @@
+// Copyright (C) 2021 Wojtek Kosior
+//
+// This code is dual-licensed under:
+// - Asshole license 1.0,
+// - GPLv3 or (at your option) any later version
+//
+// "dual-licensed" means you can choose the license you prefer.
+//
+// This code is released under a permissive license because I disapprove of
+// copyright and wouldn't be willing to sue a violator. Despite not putting
+// this code under copyleft (which is also kind of copyright), I do not want
+// it to be made proprietary. Hence, the permissive alternative to GPL is the
+// Asshole license 1.0 that allows me to call you an asshole if you use it.
+// This means you're legally ok regardless of how you utilize this code but if
+// you make it into something nonfree, you're an asshole.
+//
+// You should have received a copy of both GPLv3 and Asshole license 1.0
+// together with this code. If not, please see:
+// - https://www.gnu.org/licenses/gpl-3.0.en.html
+// - https://koszko.org/asshole-license.txt
+
{
"manifest_version": 2,
"name": "My extension",