aboutsummaryrefslogtreecommitdiff
// 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
}