From a1a8d9cb51ca9bbe14eb40cc1fced326fb38c230 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Sat, 27 Aug 2022 11:55:51 +0200 Subject: [Stack Exchange] add new fix to enable registrations --- src/stack-exchange-fix-cookienotice/index.json | 63 -------------------------- 1 file changed, 63 deletions(-) delete mode 100644 src/stack-exchange-fix-cookienotice/index.json (limited to 'src/stack-exchange-fix-cookienotice/index.json') 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 -// 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 -} -- cgit v1.2.3