Skip to content

Commit

Permalink
Merge pull request #200 from ator-dev/licence-eupl-1.2-headers-1.14
Browse files Browse the repository at this point in the history
Add EUPL-1.2-or-later licence notice to files
  • Loading branch information
ator-dev authored Dec 27, 2024
2 parents 8b03b07 + e0a6c9f commit dd6a886
Show file tree
Hide file tree
Showing 17 changed files with 98 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pages/options.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
This file is part of Mark My Search.
Copyright © 2021-present ‘ator-dev’, Mark My Search contributors.
Licensed under the EUPL-1.2-or-later.
-->
<!DOCTYPE html>
<html>
<head>
Expand Down
5 changes: 5 additions & 0 deletions pages/popup.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
This file is part of Mark My Search.
Copyright © 2021-present ‘ator-dev’, Mark My Search contributors.
Licensed under the EUPL-1.2-or-later.
-->
<!DOCTYPE html>
<html>
<head>
Expand Down
5 changes: 5 additions & 0 deletions pages/sendoff.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
This file is part of Mark My Search.
Copyright © 2021-present ‘ator-dev’, Mark My Search contributors.
Licensed under the EUPL-1.2-or-later.
-->
<!DOCTYPE html>
<html>
<head>
Expand Down
5 changes: 5 additions & 0 deletions pages/startpage.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
This file is part of Mark My Search.
Copyright © 2021-present ‘ator-dev’, Mark My Search contributors.
Licensed under the EUPL-1.2-or-later.
-->
<!DOCTYPE html>
<html>
<head>
Expand Down
6 changes: 6 additions & 0 deletions src/background.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* This file is part of Mark My Search.
* Copyright © 2021-present ‘ator-dev’, Mark My Search contributors.
* Licensed under the EUPL-1.2-or-later.
*/

if (this.importScripts) {
// Required for service workers, whereas event pages use declarative imports.
this.importScripts(
Expand Down
6 changes: 6 additions & 0 deletions src/content.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* This file is part of Mark My Search.
* Copyright © 2021-present ‘ator-dev’, Mark My Search contributors.
* Licensed under the EUPL-1.2-or-later.
*/

type BrowserCommands = Array<chrome.commands.Command>
type HighlightTags = {
reject: ReadonlySet<string>,
Expand Down
6 changes: 6 additions & 0 deletions src/include/page-build.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* This file is part of Mark My Search.
* Copyright © 2021-present ‘ator-dev’, Mark My Search contributors.
* Licensed under the EUPL-1.2-or-later.
*/

type PageInteractionObjectRowInfo = {
className: string
key: string
Expand Down
6 changes: 6 additions & 0 deletions src/include/pattern-diacritic.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* This file is part of Mark My Search.
* Copyright © 2021-present ‘ator-dev’, Mark My Search contributors.
* Licensed under the EUPL-1.2-or-later.
*/

/**
* Given any string containing common variants of alphanumeric characters,
* creates a regex string which will match the same series of letters in any of their diacritic forms, leaving unrecognised characters.
Expand Down
6 changes: 6 additions & 0 deletions src/include/pattern-stem.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* This file is part of Mark My Search.
* Copyright © 2021-present ‘ator-dev’, Mark My Search contributors.
* Licensed under the EUPL-1.2-or-later.
*/

/**
* Gets prefix and suffix regex strings for any word.
* Only yields meaningful results for English words which fit standard word form patterns.
Expand Down
6 changes: 6 additions & 0 deletions src/include/storage.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* This file is part of Mark My Search.
* Copyright © 2021-present ‘ator-dev’, Mark My Search contributors.
* Licensed under the EUPL-1.2-or-later.
*/

chrome.storage = useChromeAPI() ? chrome.storage : browser.storage as typeof chrome.storage;
chrome.storage.session ??= chrome.storage.local;

Expand Down
6 changes: 6 additions & 0 deletions src/include/util-privileged.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* This file is part of Mark My Search.
* Copyright © 2021-present ‘ator-dev’, Mark My Search contributors.
* Licensed under the EUPL-1.2-or-later.
*/

chrome.tabs.query = useChromeAPI() ? chrome.tabs.query : browser.tabs.query as typeof chrome.tabs.query;
chrome.tabs.sendMessage = useChromeAPI()
? chrome.tabs.sendMessage
Expand Down
6 changes: 6 additions & 0 deletions src/include/utility.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* This file is part of Mark My Search.
* Copyright © 2021-present ‘ator-dev’, Mark My Search contributors.
* Licensed under the EUPL-1.2-or-later.
*/

type MatchTerms = Array<MatchTerm>

// eslint-disable-next-line @typescript-eslint/no-unused-vars
Expand Down
6 changes: 6 additions & 0 deletions src/pages/options.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* This file is part of Mark My Search.
* Copyright © 2021-present ‘ator-dev’, Mark My Search contributors.
* Licensed under the EUPL-1.2-or-later.
*/

type OptionsInfo = Array<{
label: string
options: Partial<Record<keyof StorageSyncValues, {
Expand Down
6 changes: 6 additions & 0 deletions src/pages/popup-build.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* This file is part of Mark My Search.
* Copyright © 2021-present ‘ator-dev’, Mark My Search contributors.
* Licensed under the EUPL-1.2-or-later.
*/

/**
* Loads the popup content into the page.
* This presents the user with common options and actions (usually those needed while navigating), to be placed in a popup.
Expand Down
6 changes: 6 additions & 0 deletions src/pages/sendoff-build.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* This file is part of Mark My Search.
* Copyright © 2021-present ‘ator-dev’, Mark My Search contributors.
* Licensed under the EUPL-1.2-or-later.
*/

/**
* Loads the sendoff page content into the page.
* This presents the user with an offboarding form with detail, for use when the user has uninstalled the extension.
Expand Down
6 changes: 6 additions & 0 deletions src/pages/startpage-build.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* This file is part of Mark My Search.
* Copyright © 2021-present ‘ator-dev’, Mark My Search contributors.
* Licensed under the EUPL-1.2-or-later.
*/

/**
* Loads the startpage content into the page.
* This presents the user with expandable onboarding information and functions, for use when the user has installed the extension.
Expand Down
6 changes: 6 additions & 0 deletions src/paint.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* This file is part of Mark My Search.
* Copyright © 2021-present ‘ator-dev’, Mark My Search contributors.
* Licensed under the EUPL-1.2-or-later.
*/

type PaintWorkletType = {
devicePixelRatio: number
registerPaint: (name: string, classRef: unknown) => void
Expand Down

0 comments on commit dd6a886

Please sign in to comment.