diff --git a/CHANGELOG.md b/CHANGELOG.md index da628743..2e0211db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,11 +19,13 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic - `didomi-loader` - `fingerprintjs2` - `fingerprintjs3` + - `gemius` - `google-analytics` - `google-analytics-ga` - `google-ima3` - `googlesyndication-adsbygoogle` - `googletagservices-gpt` + - `matomo` - `metrika-yandex-tag` - `metrika-yandex-watch` - `naver-wcslog` diff --git a/scripts/compatibility-table.json b/scripts/compatibility-table.json index fa198f7e..1ae2c471 100644 --- a/scripts/compatibility-table.json +++ b/scripts/compatibility-table.json @@ -51,57 +51,39 @@ "adg": "didomi-loader" }, { - "adg": "fingerprintjs2" - }, - { - "adg": "fingerprintjs3" - }, - { - "adg": "google-analytics" - }, - { - "adg": "google-analytics-ga" - }, - { - "adg": "google-ima3" - }, - { - "adg": "googlesyndication-adsbygoogle" - }, - { - "adg": "googletagservices-gpt" + "adg": "dir-string" }, { - "adg": "metrika-yandex-watch" + "adg": "disable-newtab-links", + "ubo": "disable-newtab-links.js" }, { - "adg": "metrika-yandex-tag" + "adg": "evaldata-prune", + "ubo": "evaldata-prune.js" }, { - "adg": "naver-wcslog" + "adg": "fingerprintjs2" }, { - "adg": "no-protected-audience" + "adg": "fingerprintjs3" }, { - "adg": "pardot-1.0" + "adg": "gemius" }, { - "adg": "prebid" + "adg": "google-analytics" }, { - "adg": "scorecardresearch-beacon" + "adg": "google-analytics-ga" }, { - "adg": "dir-string" + "adg": "google-ima3" }, { - "adg": "disable-newtab-links", - "ubo": "disable-newtab-links.js" + "adg": "googlesyndication-adsbygoogle" }, { - "adg": "evaldata-prune", - "ubo": "evaldata-prune.js" + "adg": "googletagservices-gpt" }, { "adg": "json-prune", @@ -126,6 +108,18 @@ "adg": "m3u-prune", "ubo": "m3u-prune.js" }, + { + "adg": "matomo" + }, + { + "adg": "metrika-yandex-watch" + }, + { + "adg": "metrika-yandex-tag" + }, + { + "adg": "naver-wcslog" + }, { "adg": "noeval" }, @@ -133,9 +127,18 @@ "adg": "nowebrtc", "ubo": "nowebrtc.js" }, + { + "adg": "no-protected-audience" + }, { "adg": "no-topics" }, + { + "adg": "pardot-1.0" + }, + { + "adg": "prebid" + }, { "adg": "prevent-addEventListener", "ubo": "addEventListener-defuser.js (aeld.js, prevent-addEventListener.js)", @@ -206,6 +209,9 @@ "adg": "remove-node-text", "ubo": "remove-node-text.js (rmnt.js)" }, + { + "adg": "scorecardresearch-beacon" + }, { "adg": "set-attr", "ubo": "set-attr.js" diff --git a/src/scriptlets/amazon-apstag.js b/src/scriptlets/amazon-apstag.ts similarity index 100% rename from src/scriptlets/amazon-apstag.js rename to src/scriptlets/amazon-apstag.ts diff --git a/src/scriptlets/didomi-loader.js b/src/scriptlets/didomi-loader.ts similarity index 100% rename from src/scriptlets/didomi-loader.js rename to src/scriptlets/didomi-loader.ts diff --git a/src/scriptlets/fingerprintjs2.js b/src/scriptlets/fingerprintjs2.ts similarity index 100% rename from src/scriptlets/fingerprintjs2.js rename to src/scriptlets/fingerprintjs2.ts diff --git a/src/scriptlets/fingerprintjs3.js b/src/scriptlets/fingerprintjs3.ts similarity index 100% rename from src/scriptlets/fingerprintjs3.js rename to src/scriptlets/fingerprintjs3.ts diff --git a/src/scriptlets/gemius.ts b/src/scriptlets/gemius.ts new file mode 100644 index 00000000..4a54a8b2 --- /dev/null +++ b/src/scriptlets/gemius.ts @@ -0,0 +1,18 @@ +import { Gemius } from '../redirects/gemius'; + +/** + * @scriptlet gemius + * + * @description + * Mocks Gemius Analytics. + * https://flowplayer.com/developers/plugins/gemius + * + * ### Examples + * + * ```adblock + * example.org#%#//scriptlet('gemius') + * ``` + * + * @added unknown. + */ +export { Gemius }; diff --git a/src/scriptlets/google-analytics-ga.js b/src/scriptlets/google-analytics-ga.ts similarity index 100% rename from src/scriptlets/google-analytics-ga.js rename to src/scriptlets/google-analytics-ga.ts diff --git a/src/scriptlets/google-analytics.js b/src/scriptlets/google-analytics.ts similarity index 100% rename from src/scriptlets/google-analytics.js rename to src/scriptlets/google-analytics.ts diff --git a/src/scriptlets/google-ima3.js b/src/scriptlets/google-ima3.ts similarity index 100% rename from src/scriptlets/google-ima3.js rename to src/scriptlets/google-ima3.ts diff --git a/src/scriptlets/googlesyndication-adsbygoogle.js b/src/scriptlets/googlesyndication-adsbygoogle.ts similarity index 100% rename from src/scriptlets/googlesyndication-adsbygoogle.js rename to src/scriptlets/googlesyndication-adsbygoogle.ts diff --git a/src/scriptlets/googletagservices-gpt.js b/src/scriptlets/googletagservices-gpt.ts similarity index 100% rename from src/scriptlets/googletagservices-gpt.js rename to src/scriptlets/googletagservices-gpt.ts diff --git a/src/scriptlets/matomo.ts b/src/scriptlets/matomo.ts new file mode 100644 index 00000000..9b33d99b --- /dev/null +++ b/src/scriptlets/matomo.ts @@ -0,0 +1,17 @@ +import { Matomo } from '../redirects/matomo'; + +/** + * @scriptlet matomo + * + * @description + * Mocks the piwik.js file of Matomo (formerly Piwik). + * + * ### Examples + * + * ```adblock + * example.org#%#//scriptlet('matomo') + * ``` + * + * @added unknown. + */ +export { Matomo }; diff --git a/src/scriptlets/metrika-yandex-tag.js b/src/scriptlets/metrika-yandex-tag.ts similarity index 100% rename from src/scriptlets/metrika-yandex-tag.js rename to src/scriptlets/metrika-yandex-tag.ts diff --git a/src/scriptlets/metrika-yandex-watch.js b/src/scriptlets/metrika-yandex-watch.ts similarity index 100% rename from src/scriptlets/metrika-yandex-watch.js rename to src/scriptlets/metrika-yandex-watch.ts diff --git a/src/scriptlets/naver-wcslog.js b/src/scriptlets/naver-wcslog.ts similarity index 100% rename from src/scriptlets/naver-wcslog.js rename to src/scriptlets/naver-wcslog.ts diff --git a/src/scriptlets/pardot-1.0.js b/src/scriptlets/pardot-1.0.ts similarity index 100% rename from src/scriptlets/pardot-1.0.js rename to src/scriptlets/pardot-1.0.ts diff --git a/src/scriptlets/prebid.js b/src/scriptlets/prebid.ts similarity index 100% rename from src/scriptlets/prebid.js rename to src/scriptlets/prebid.ts diff --git a/src/scriptlets/scorecardresearch-beacon.js b/src/scriptlets/scorecardresearch-beacon.ts similarity index 100% rename from src/scriptlets/scorecardresearch-beacon.js rename to src/scriptlets/scorecardresearch-beacon.ts diff --git a/src/scriptlets/scriptlets-list.js b/src/scriptlets/scriptlets-list.js index e14171ea..c54b37d5 100644 --- a/src/scriptlets/scriptlets-list.js +++ b/src/scriptlets/scriptlets-list.js @@ -74,10 +74,16 @@ export * from './amazon-apstag'; export * from './didomi-loader'; export * from './fingerprintjs2'; export * from './fingerprintjs3'; +export * from './gemius'; export * from './google-analytics'; export * from './google-analytics-ga'; export * from './google-ima3'; export * from './googlesyndication-adsbygoogle'; export * from './googletagservices-gpt'; +export * from './matomo'; export * from './metrika-yandex-tag'; export * from './metrika-yandex-watch'; +export * from './naver-wcslog'; +export * from './pardot-1.0'; +export * from './prebid'; +export * from './scorecardresearch-beacon';