From f938b039dc9748ad2f3f29cd05c598096f6cef0c Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Tue, 28 Jun 2022 19:01:02 +0200 Subject: integrate fixes by Jacob K The original repo of the fixes was: https://codeberg.org/JacobK/site-fixes --- src/arstechnica-com-fix-comments/index.json | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/arstechnica-com-fix-comments/index.json (limited to 'src/arstechnica-com-fix-comments/index.json') diff --git a/src/arstechnica-com-fix-comments/index.json b/src/arstechnica-com-fix-comments/index.json new file mode 100644 index 0000000..633b7a7 --- /dev/null +++ b/src/arstechnica-com-fix-comments/index.json @@ -0,0 +1,36 @@ +// SPDX-License-Identifier: CC0-1.0 + +// Copyright (C) 2021, 2022 Wojtek Kosior +// Copyright (C) 2022 Jacob K +// Available under the terms of Creative Commons Zero v1.0 Universal. + +{ + "$schema": "https://hydrilla.koszko.org/schemas/package_source-2.schema.json", + "source_name": "arstechnica-com-fix-comments", + "copyright": [ + // The text of the LicenseRef- GPL also gets included in the report. + {"file": "report.spdx"}, + {"file": "LICENSES/CC0-1.0.txt"} + ], + "additional_files": [ + {"file": "LICENSES/LicenseRef-GPL-3.0-or-later-WITH-js-exceptions.txt"} + ], + "upstream_url": "https://git.koszko.org/hydrilla-fixes-bundle/tree/src/arstechnica-com-fix-comments", + "definitions": [{ + "type": "mapping_and_resource", + "identifier": "arstechnica-com-fix-comments", + "long_name": "Ars Technica comments display fix", + "uuid": "b1a5a953-b35e-4bf3-b50b-52e63b3290c9", + "version": [2022, 6, 28], + "revision": 1, + "description": "Show comments on Ars Technica without relying on site-served JavaScript.", + "scripts": [{"file": "ars-comments.js"}], + "payloads": { + // * https://arstechnica.com/tech-policy/2018/01/hollywood-says-its-not-planning-another-copyright-extension-push/?comments=1&start=40 + "https://arstechnica.com/**": { + "identifier": "arstechnica-com-fix-comments" + } + } + }], + "reuse_generate_spdx_report": true +} -- cgit v1.2.3