aboutsummaryrefslogtreecommitdiff
path: root/src/stack-exchange-fix-cookienotice/index.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/stack-exchange-fix-cookienotice/index.json')
-rw-r--r--src/stack-exchange-fix-cookienotice/index.json63
1 files changed, 0 insertions, 63 deletions
diff --git a/src/stack-exchange-fix-cookienotice/index.json b/src/stack-exchange-fix-cookienotice/index.json
deleted file mode 100644
index 095fdec..0000000
--- a/src/stack-exchange-fix-cookienotice/index.json
+++ /dev/null
@@ -1,63 +0,0 @@
-// SPDX-License-Identifier: CC0-1.0
-
-// Copyright (C) 2022 Wojtek Kosior <koszko@koszko.org>
-// Available under the terms of Creative Commons Zero v1.0 Universal.
-
-{
- "$schema": "https://hydrilla.koszko.org/schemas/package_source-2.schema.json",
- "source_name": "stack-exchange-fix-cookienotice",
- "copyright": [
- {"file": "report.spdx"},
- {"file": "LICENSES/Apache-2.0.txt"},
- {"file": "LICENSES/CC0-1.0.txt"}
- ],
- "upstream_url": "https://git.koszko.org/hydrilla-fixes-bundle/tree/src/stack-exchange-fix-cookienotice",
- "definitions": [{
-
- "type": "mapping_and_resource",
- "identifier": "stack-exchange-fix-cookienotice",
- "long_name": "StackExchange cookie notice fix",
- "version": [2022, 2, 18],
- "revision": 2,
- "description": "Make cookie notice on StackExchange websites closable without relying on site-served JavaScript.",
- "dependencies": [],
- "scripts": [{"file": "stack_exchange_cookienotice.js"}],
- "payloads": {
- // The list of domains can be constructed by going to
- // https://stackexchange.com/sites and there, on the page, executing:
- // [...document.querySelector(".grid-view-container").children]
- // .filter(n => n.nodeName === "A" && n.href)
- // .map(n => n.href)
- // .filter(u => !/^https:\/\/[^.]+\.stackexchange.com\/$/.test(u))
- //
- // * https://academia.stackexchange.com/questions/182562/results-that-are-too-good-to-be-true-peer-review
- // * https://stackoverflow.com
- // * https://superuser.com
- "https://serverfault.com/***": {
- "identifier": "stack-exchange-fix-cookienotice"
- },
- "https://superuser.com/***": {
- "identifier": "stack-exchange-fix-cookienotice"
- },
- "https://askubuntu.com/***": {
- "identifier": "stack-exchange-fix-cookienotice"
- },
- "https://stackapps.com/***": {
- "identifier": "stack-exchange-fix-cookienotice"
- },
- "https://mathoverflow.net/***": {
- "identifier": "stack-exchange-fix-cookienotice"
- },
- // Handle stackoverflow.com, ru.stackoverflow.com, and all other
- // language-specific SO sites. With one pattern.
- "https://***.stackoverflow.com/***": {
- "identifier": "stack-exchange-fix-cookienotice"
- },
- // Finally, handle all the other StackExchange sites.
- "https://*.stackexchange.com/***": {
- "identifier": "stack-exchange-fix-cookienotice"
- }
- }
- }],
- "reuse_generate_spdx_report": true
-}