aboutsummaryrefslogtreecommitdiff
path: root/src/pcspecialist-fix/index.json
blob: d197702402d45ce408cc8476f7857640423870ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// 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": "pcspecialist-fix",
    "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/pcspecialist-fix",
    "definitions": [{
	"type":         "resource",
	"identifier":   "pcspecialist-fix-notice",
	"long_name":    "PCSpecialist notice fix",
	"uuid":         "ce43448d-7c51-4e63-91b0-d69ffd4dd4d1",
	"version":      [2022, 2, 21],
	"revision":     2,
	"description":  "Make PCSpecialist cookie and language notices closable without relying on site-served JavaScript.",
	"dependencies": [],
	"scripts":      [{"file": "pcspecialist_notice.js"}]
    }, {
	"type":         "resource",
	"identifier":   "pcspecialist-fix-priceview",
	"long_name":    "PCSpecialist price display fix",
	"uuid":         "57a21d8a-8d7b-466b-b9c9-69d835619e4d",
	"version":      [2022, 2, 21],
	"revision":     2,
	"description":  "Make PCSpecialist product prices viewable without relying on site-served JavaScript.",
	"dependencies": [{"identifier": "pcspecialist-fix-notice"}],
	"scripts":      [{"file": "pcspecialist_display_prices.js"}]
    }, {
	"type":         "mapping",
	"identifier":   "pcspecialist-fix",
	"long_name":    "PCSpecialist fix",
	"uuid":	        "159a2adc-9b05-4dc6-9eb3-e18ee3843d8d",
	"version":      [2022, 2, 21, 2],
	"description":  "Make PCSpecialist cookie notice closable and display prices without relying on site-served JavaScript.",
	"payloads": {
	    // * https://www.pcspecialist.co.uk/
	    "https://www.pcspecialist.co.uk/***": {
		"identifier": "pcspecialist-fix-notice"
	    },
	    // * https://www.pcspecialist.pl/
	    "https://www.pcspecialist.pl/***": {
		"identifier": "pcspecialist-fix-notice"
	    },
	    // * https://www.pcspecialist.co.uk/view/AURORA-ELITE/
	    "https://www.pcspecialist.co.uk/view/*": {
		"identifier": "pcspecialist-fix-priceview"
	    },
	    // * https://www.pcspecialist.pl/widok/Torva-Elite/
	    "https://www.pcspecialist.pl/widok/*": {
		"identifier": "pcspecialist-fix-priceview"
	    }
	}
    }],
    "reuse_generate_spdx_report": true
}